-
Notifications
You must be signed in to change notification settings - Fork 3
v0.3.71 release #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.3.71 release #354
Changes from all commits
330263b
dfb985d
a862fcb
0cd9f34
6c3da83
18f178a
98e5206
db522dd
588223e
4356348
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Accounts exempt from the CLA check (.github/workflows/cla.yml). | ||
| # One GitHub username per line; lines starting with # and blank lines are | ||
| # ignored. '*' wildcards are supported (e.g. bot accounts). | ||
| # | ||
| # The workflow reads this file from the default branch, so changes take | ||
| # effect once they land there — a PR cannot allowlist its own author. | ||
| # | ||
| # Bots: | ||
| dependabot[bot] | ||
| renovate[bot] | ||
|
|
||
| # Tower employees: exempt because they have already signed equivalent | ||
| # agreements as part of employment; the CLA record for them lives in their | ||
| # employment paperwork, not in signatures/. Keep in sync with org | ||
| # membership; remove people when they leave (their later contributions need | ||
| # a signature like anyone else's). | ||
| bradhe | ||
| datancoffee | ||
| giray123 | ||
| jo-sm | ||
| konstantinoscs | ||
| MemoAlfa | ||
| mesmith027 | ||
| sammuti | ||
| socksy | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| # CLA enforcement via CLA Assistant Lite (contributor-assistant/github-action). | ||
| # | ||
| # NOTE: the upstream repository (contributor-assistant/github-action) was | ||
| # archived in March 2026 and is read-only. Existing releases keep working. | ||
| # This is deliberate: unlike the hosted cla-assistant.io app, this action | ||
| # stores signatures inside this repository, which is a hard requirement. | ||
| # Consequences: | ||
| # - The action is pinned to a commit SHA (of the last release, v2.6.1). | ||
| # - Treat it as frozen: do not add Dependabot/Renovate config for it, and | ||
| # do not expect upstream updates or fixes. | ||
| # | ||
| # Signature storage: the action writes cla.json to `develop` directly (it | ||
| # cannot open PRs), which the develop ruleset's pull-request requirement | ||
| # would normally reject — and GitHub does not allow the built-in Actions | ||
| # token to bypass rulesets. So the write goes through a dedicated org-owned | ||
| # GitHub App (Contents: read/write only): its token is minted below and | ||
| # passed as PERSONAL_ACCESS_TOKEN, which the action uses for signature | ||
| # persistence only (comments/status/lock still use GITHUB_TOKEN). The app | ||
| # must be installed on this repo and listed as a bypass actor on the develop | ||
| # ruleset, or signing fails at the moment someone signs. | ||
| # Secrets required: CLA_APP_ID, CLA_APP_PRIVATE_KEY. | ||
| # cla.json reaches main through the normal develop -> main release merges. | ||
| # | ||
| # Signature versioning: signatures are stored under signatures/version1/. | ||
| # If CLA.md is ever materially changed, bump the path to signatures/version2/ | ||
| # (and so on) so that prior signatures do not silently appear to cover text | ||
| # nobody agreed to. | ||
| name: CLA Assistant | ||
| on: | ||
| issue_comment: | ||
| types: [created] | ||
| pull_request_target: | ||
| types: [opened, closed, synchronize] | ||
|
|
||
| permissions: | ||
| actions: write | ||
| contents: write | ||
| pull-requests: write | ||
| statuses: write | ||
|
bradhe marked this conversation as resolved.
|
||
|
|
||
| jobs: | ||
| cla: | ||
| runs-on: ubuntu-latest | ||
| # The `github.event.issue.pull_request` guard is required: without it, | ||
| # comments on ordinary issues (not PRs) trigger the workflow. The upstream | ||
| # README example omits it; that is a known upstream bug. | ||
| if: > | ||
| github.event_name == 'pull_request_target' || | ||
| (github.event.issue.pull_request && | ||
| contains(fromJSON('["recheck","I have read the CLA Document and I hereby sign the CLA"]'), | ||
| github.event.comment.body)) | ||
| # One run at a time per PR: `opened` + `synchronize` arriving together | ||
| # would otherwise race on the cla.json write. | ||
| concurrency: | ||
| group: cla-${{ github.event.pull_request.number || github.event.issue.number }} | ||
| cancel-in-progress: false | ||
|
bradhe marked this conversation as resolved.
|
||
| steps: | ||
| # The action only accepts the allowlist as a string input, so it is | ||
| # tracked in .github/cla-allowlist.txt and loaded here. It is pinned to | ||
| # `develop` (maintainer-controlled, matches the signature branch) so a | ||
| # PR cannot allowlist its own author by editing the file, and so | ||
| # issue_comment runs — which execute from the default branch — read the | ||
| # same copy as pull_request_target runs. pipefail makes a failed fetch | ||
| # fail the job instead of silently producing an empty allowlist. | ||
| - name: Load allowlist | ||
| id: allowlist | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| set -euo pipefail | ||
| list=$(gh api "repos/${{ github.repository }}/contents/.github/cla-allowlist.txt?ref=develop" --jq '.content' \ | ||
| | base64 --decode | grep -vE '^[[:space:]]*(#|$)' | paste -sd, -) | ||
| echo "list=$list" >> "$GITHUB_OUTPUT" | ||
|
bradhe marked this conversation as resolved.
|
||
| - name: Mint signature-write token | ||
| id: app-token | ||
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | ||
| with: | ||
| app-id: ${{ secrets.CLA_APP_ID }} | ||
| private-key: ${{ secrets.CLA_APP_PRIVATE_KEY }} | ||
|
bradhe marked this conversation as resolved.
|
||
| - uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1 — upstream archived 2026-03 | ||
|
bradhe marked this conversation as resolved.
|
||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }} | ||
| with: | ||
| path-to-signatures: 'signatures/version1/cla.json' | ||
| path-to-document: 'https://github.com/tower/tower-cli/blob/develop/CLA.md' | ||
| branch: 'develop' | ||
| # Pointing "remote" at this same repo is what routes the signature | ||
| # write through PERSONAL_ACCESS_TOKEN (the app token) instead of | ||
| # GITHUB_TOKEN — the action only uses the PAT client when a remote | ||
| # repo/org is configured. | ||
| remote-organization-name: 'tower' | ||
| remote-repository-name: 'tower-cli' | ||
| allowlist: ${{ steps.allowlist.outputs.list }} | ||
| # Without this, the action matches the sign phrase as a substring | ||
| # (regex .*phrase.*), so "... I hereby sign the CLA, but I do not | ||
| # agree" would count as a signature. Setting custom-pr-sign-comment | ||
| # switches the action to exact (trimmed, case-insensitive) matching. | ||
| custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA' | ||
| # lock-on-merge is left at its default (enabled) on purpose: locking | ||
| # the PR conversation after merge is what makes the signature | ||
| # comments immutable, which is the evidentiary value of the record. | ||
|
Comment on lines
+100
to
+102
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- workflow excerpt ---'
cat -n .github/workflows/cla.yml | sed -n '1,150p'
printf '%s\n' '--- referenced action and local evidence ---'
rg -n -C 4 'contributor-assistant|lock-on-merge|issues.lock|github-action' .github README.md . 2>/dev/null | head -300
printf '%s\n' '--- repository files related to the action or CLA ---'
git ls-files | rg '(^|/)(cla|workflow|github-action|contributor)' | head -200Repository: tower/tower-cli Length of output: 9250 🏁 Script executed: #!/bin/bash
set -eu
url='https://raw.githubusercontent.com/contributor-assistant/github-action/ca4a40a7d1004f18d9960b404b97e5f30a505a08/dist/index.js'
tmp=$(mktemp)
curl --fail --silent --show-error --location "$url" -o "$tmp"
printf '%s\n' '--- lock-related code ---'
python3 - "$tmp" <<'PY'
import re, sys
text = open(sys.argv[1], encoding="utf-8").read()
for needle in ("issues.lock", "lock-on-merge", "lockOnMerge", "lock failed", "Error locking"):
print(f"\n### {needle}")
hits = list(re.finditer(re.escape(needle), text, re.IGNORECASE))
for m in hits[:10]:
print(text[max(0, m.start()-600):m.end()+900])
PY
printf '%s\n' '--- action metadata at the pinned commit ---'
curl --fail --silent --show-error --location \
'https://raw.githubusercontent.com/contributor-assistant/github-action/ca4a40a7d1004f18d9960b404b97e5f30a505a08/action.yml' \
| sed -n '1,180p'
rm -f "$tmp"Repository: tower/tower-cli Length of output: 3954 Fail closed when post-merge locking fails. The action catches 🤖 Prompt for AI AgentsSource: MCP tools |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| # Tower Individual Contributor License Agreement | ||
|
|
||
| Before your pull request can be merged, Tower asks you to sign this | ||
| contributor license agreement. Signing does not transfer ownership of your | ||
| work: you keep the copyright in your contributions and grant Tower and users | ||
| of Tower's software a license to use, modify, and distribute them. You sign | ||
| by replying to the CLA bot's comment on your pull request, and the signature | ||
| is recorded in this repository. | ||
|
|
||
| --- | ||
|
|
||
| Thank you for your interest in Tower Computing GmbH ("Tower"). To clarify the | ||
| intellectual property license granted with Contributions from any person or | ||
| entity, Tower must have on file a signed Contributor License Agreement | ||
| ("CLA") from each Contributor, indicating agreement with the license terms | ||
| below. This agreement is for your protection as a Contributor as well as the | ||
| protection of Tower and its users. It does not change your rights to use your | ||
| own Contributions for any other purpose. | ||
|
|
||
| You sign this Agreement electronically by posting the signature comment | ||
| requested by the CLA workflow on your GitHub pull request. Your GitHub | ||
| username and the metadata recorded by the workflow constitute the record of | ||
| your signature and are stored in this repository. | ||
|
|
||
| You accept and agree to the following terms and conditions for Your | ||
| Contributions (present and future) that you submit to Tower. Except for the | ||
| license granted herein to Tower and recipients of software distributed by | ||
| Tower, You reserve all right, title, and interest in and to Your | ||
| Contributions. | ||
|
|
||
| 1. Definitions. | ||
|
|
||
| "You" (or "Your") shall mean the copyright owner or legal entity | ||
| authorized by the copyright owner that is making this Agreement with | ||
| Tower. For legal entities, the entity making a Contribution and all other | ||
| entities that control, are controlled by, or are under common control with | ||
| that entity are considered to be a single Contributor. For the purposes of | ||
| this definition, "control" means (i) the power, direct or indirect, to | ||
| cause the direction or management of such entity, whether by contract or | ||
| otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| outstanding shares, or (iii) beneficial ownership of such entity. | ||
|
|
||
| "Contribution" shall mean any original work of authorship, including any | ||
| modifications or additions to an existing work, that is intentionally | ||
| submitted by You to Tower for inclusion in, or documentation of, any of | ||
| the products owned or managed by Tower (the "Work"). For the purposes of | ||
| this definition, "submitted" means any form of electronic, verbal, or | ||
| written communication sent to Tower or its representatives, including but | ||
| not limited to communication on electronic mailing lists, source code | ||
| control systems, and issue tracking systems that are managed by, or on | ||
| behalf of, Tower for the purpose of discussing and improving the Work, but | ||
| excluding communication that is conspicuously marked or otherwise | ||
| designated in writing by You as "Not a Contribution." | ||
|
|
||
| 2. Grant of Copyright License. Subject to the terms and conditions of this | ||
| Agreement, You hereby grant to Tower and to recipients of software | ||
| distributed by Tower a perpetual, worldwide, non-exclusive, no-charge, | ||
| royalty-free, irrevocable copyright license to reproduce, prepare | ||
| derivative works of, publicly display, publicly perform, sublicense, and | ||
| distribute Your Contributions and such derivative works. | ||
|
|
||
| 3. Grant of Patent License. Subject to the terms and conditions of this | ||
| Agreement, You hereby grant to Tower and to recipients of software | ||
| distributed by Tower a perpetual, worldwide, non-exclusive, no-charge, | ||
| royalty-free, irrevocable (except as stated in this section) patent | ||
| license to make, have made, use, offer to sell, sell, import, and | ||
| otherwise transfer the Work, where such license applies only to those | ||
| patent claims licensable by You that are necessarily infringed by Your | ||
| Contribution(s) alone or by combination of Your Contribution(s) with the | ||
| Work to which such Contribution(s) was submitted. If any entity institutes | ||
| patent litigation against You or any other entity (including a cross-claim | ||
| or counterclaim in a lawsuit) alleging that your Contribution, or the Work | ||
| to which you have contributed, constitutes direct or contributory patent | ||
| infringement, then any patent licenses granted to that entity under this | ||
| Agreement for that Contribution or Work shall terminate as of the date | ||
| such litigation is filed. | ||
|
|
||
| 4. You represent that you are legally entitled to grant the above license. | ||
| If your employer(s) has rights to intellectual property that you create | ||
| that includes your Contributions, you represent that you have received | ||
| permission to make Contributions on behalf of that employer, that your | ||
| employer has waived such rights for your Contributions to Tower, or that | ||
| your employer has executed a separate Corporate CLA with Tower. | ||
|
|
||
| 5. You represent that each of Your Contributions is Your original creation | ||
| (see section 7 for submissions on behalf of others). You represent that | ||
| Your Contribution submissions include complete details of any third-party | ||
| license or other restriction (including, but not limited to, related | ||
| patents and trademarks) of which you are personally aware and which are | ||
| associated with any part of Your Contributions. | ||
|
|
||
| 6. You are not expected to provide support for Your Contributions, except to | ||
| the extent You desire to provide support. You may provide support for | ||
| free, for a fee, or not at all. Unless required by applicable law or | ||
| agreed to in writing, You provide Your Contributions on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, | ||
| including, without limitation, any warranties or conditions of TITLE, | ||
| NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. | ||
|
|
||
| 7. Should You wish to submit work that is not Your original creation, You | ||
| may submit it to Tower separately from any Contribution, identifying the | ||
| complete details of its source and of any license or other restriction | ||
| (including, but not limited to, related patents, trademarks, and license | ||
| agreements) of which you are personally aware, and conspicuously marking | ||
| the work as "Submitted on behalf of a third-party: [named here]". | ||
|
|
||
| 8. You agree to notify Tower of any facts or circumstances of which you | ||
| become aware that would make these representations inaccurate in any | ||
| respect. | ||
|
|
||
| 9. Prior Contributions. This Agreement applies to all Contributions You | ||
| submitted to Tower before the date You sign this Agreement, as well as to | ||
| all Contributions You submit on or after that date. The licenses granted | ||
| in sections 2 and 3, and the representations made in sections 4, 5, 7, | ||
| and 8, apply equally to such prior Contributions. | ||
|
|
||
| 10. Governing Law. This Agreement shall be governed by and construed in | ||
| accordance with the laws of the Federal Republic of Germany, without | ||
| regard to its conflict of laws principles. Any dispute arising out of or | ||
| relating to this Agreement shall be subject to the exclusive jurisdiction | ||
| of the courts at the registered seat of Tower Computing GmbH in Germany. |
Uh oh!
There was an error while loading. Please reload this page.