Repository navigation
ci: lock the actions in actions.lock, drop the write-all defaults and scope the benchmark secrets #1975
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
Open
thomasboni
wants to merge
1
commit into
ClickHouse:main
Choose a base branch
from
thomasboni:ci-hardening
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ci: lock the actions in actions.lock, drop the write-all defaults and scope the benchmark secrets #1975
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| # This file is machine-generated by `gh actions-lock`. | ||
| # Do not edit by hand; run `gh actions-lock` to update. | ||
| # Docs: https://gh.io/actions-lockfile | ||
| version: 'v0.0.3' | ||
| workflows: | ||
| '.github/workflows/claude-code-review.yml': | ||
| - 'actions/checkout@v4.4.0' | ||
| - 'anthropics/claude-code-action@v1.0.286' | ||
| '.github/workflows/codeql-analysis.yml': | ||
| - 'actions/checkout@v5.1.0' | ||
| - 'github/codeql-action@v4.39.4' | ||
| '.github/workflows/cross-repo-bug-relay.yml': [] | ||
| '.github/workflows/docs_drift_check.yml': [] | ||
| '.github/workflows/docs_sync.yml': | ||
| - 'actions/checkout@v5.1.0' | ||
| - 'actions/create-github-app-token@v3.4.0' | ||
| '.github/workflows/docs_verify.yml': | ||
| - 'actions/checkout@v5.1.0' | ||
| '.github/workflows/release.yml': | ||
| - 'actions/checkout@v5.1.0' | ||
| - 'actions/create-github-app-token@v1.12.0' | ||
| - 'actions/setup-go@v5.6.0' | ||
| '.github/workflows/run-lint.yml': | ||
| - 'actions/checkout@v6.1.0' | ||
| - 'actions/setup-go@v6.5.0' | ||
| - 'golangci/golangci-lint-action@v9.3.0' | ||
| '.github/workflows/run-tests-cloud.yml': | ||
| - 'actions/checkout@v4.4.0' | ||
| - 'actions/setup-go@v5.6.0' | ||
| '.github/workflows/run-tests-head.yml': | ||
| - 'actions/checkout@v4.4.0' | ||
| - 'actions/setup-go@v5.6.0' | ||
| '.github/workflows/run-tests.yml': | ||
| - 'actions/checkout@v4.4.0' | ||
| - 'actions/setup-go@v5.6.0' | ||
| '.github/workflows/stresshouse-benchmark-compare.yml': [] | ||
| dependencies: | ||
| 'actions/checkout@v4.4.0': | ||
| ref: 'v4.4.0' | ||
| commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/checkout@v5.1.0': | ||
| ref: 'v5.1.0' | ||
| commit: 'sha1-fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/checkout@v6.1.0': | ||
| ref: 'v6.1.0' | ||
| commit: 'sha1-d23441a48e516b6c34aea4fa41551a30e30af803' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/create-github-app-token@v1.12.0': | ||
| ref: 'v1.12.0' | ||
| commit: 'sha1-d72941d797fd3113feb6b93fd0dec494b13a2547' | ||
| owner_id: 44036562 | ||
| repo_id: 642580244 | ||
| 'actions/create-github-app-token@v3.4.0': | ||
| ref: 'v3.4.0' | ||
| commit: 'sha1-f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc' | ||
| owner_id: 44036562 | ||
| repo_id: 642580244 | ||
| 'actions/setup-go@v5.6.0': | ||
| ref: 'v5.6.0' | ||
| commit: 'sha1-40f1582b2485089dde7abd97c1529aa768e1baff' | ||
| owner_id: 44036562 | ||
| repo_id: 192624594 | ||
| 'actions/setup-go@v6.5.0': | ||
| ref: 'v6.5.0' | ||
| commit: 'sha1-924ae3a1cded613372ab5595356fb5720e22ba16' | ||
| owner_id: 44036562 | ||
| repo_id: 192624594 | ||
| 'anthropics/claude-code-action@v1.0.286': | ||
| ref: 'v1.0.286' | ||
| commit: 'sha1-acfe7992852970efb4fee683d63d628e3e52df67' | ||
| owner_id: 76263028 | ||
| repo_id: 986421638 | ||
| uses: | ||
| - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6' | ||
| 'github/codeql-action@v4.39.4': | ||
| ref: 'v4.39.4' | ||
| commit: 'sha1-1bd86f2fdb4b86187fa4059f16f31a3202acc9ea' | ||
| owner_id: 9919 | ||
| repo_id: 259445878 | ||
| 'golangci/golangci-lint-action@v9.3.0': | ||
| ref: 'v9.3.0' | ||
| commit: 'sha1-ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a' | ||
| owner_id: 35628013 | ||
| repo_id: 232539879 | ||
| 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6': | ||
| ref: 'v2.2.0' | ||
| commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6' | ||
| owner_id: 108928776 | ||
| repo_id: 512644635 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not inherit the secrets here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
secrets: inheritforwards every secret into the workflow, while the callee here only declaresWORKFLOW_AUTH_PUBLIC_APP_IDandWORKFLOW_AUTH_PUBLIC_PRIVATE_KEY, so everything beyond those two is exposure with no benefit.And this particular callee lives in a different repo (
ClickHouse/integrations-shared-workflows) and is referenced on@main, meaning any future change to that workflow immediately runs here with whatever secrets we hand it.Passing them explicitly caps what a change on that side can ever reach, and doubles as documentation of what the workflow actually needs. If the shared workflow grows a new secret later, the failure is loud (a
missing-secreterror) instead of a silent broadening of access.