Repository navigation
Conversation
Pin every action reference to a full commit SHA and declare contents: read for workflows that did not set token permissions.
Pass the pull request title, review branch name, and dispatch number through environment variables, validate them before use, and pin the benchmark checkout to a commit.
Set persist-credentials to false so the checkout token is not left in the git configuration for later steps.
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What problem does this PR solve?
Most workflow action references use mutable tags or branches, several workflows do not declare token permissions, and a few steps interpolate workflow event fields directly into shell commands.
What is changed and how it works?
actions/*,docker/login-action,dependabot/fetch-metadata,release-plz/action,rust-lang/crates-io-auth-action,sarisia/actions-status-discord,xt0rted/pull-request-comment-branch, anddtolnay/rust-toolchain).permissions: contents: readas the default for CI workflows that did not declare permissions.nervosnetwork/ckb-integration-testcheckout in the benchmark workflow to a commit.persist-credentials: falsein the release-plz checkout.Related changes
ckb-integration-test.ymlreferences a reusable workflow that is no longer present innervosnetwork/ckb-integration-test@main; this is left unchanged.Check List
Tests
actionlint(no structural errors beyond existing shellcheck style notes and custom runner labels).Side effects