-
Notifications
You must be signed in to change notification settings - Fork 56
Update github actions (main) (minor) #3282
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
base: main
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -29,4 +29,4 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Label PR by size | ||
| uses: conforma/pr-size-label-action@v1.0.0 | ||
| uses: conforma/pr-size-label-action@v1.2.0 | ||
|
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. [medium] action-pinning conforma/pr-size-label-action is pinned to a mutable version tag (v1.2.0) rather than an immutable commit SHA. Every other third-party action in this repository is pinned to a full 40-character commit SHA with a version comment. This workflow runs on pull_request_target with pull-requests: write and issues: write permissions, which increases the impact of a supply chain compromise if the tag is force-pushed. Suggested fix: Pin to the commit SHA corresponding to v1.2.0, e.g.: uses: conforma/pr-size-label-action@ # v1.2.0 |
||
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.
[low] pattern-inconsistency
conforma/pr-size-label-action is pinned to a mutable tag (@v1.2.0) rather than a commit SHA, unlike every other action reference in this repository. This is a pre-existing pattern (was @v1.0.0), not introduced by this PR. This action runs on pull_request_target with pull-requests: write and issues: write permissions, making SHA pinning especially important for supply-chain security.
Suggested fix: Pin to a full commit SHA with a version comment, e.g., uses: conforma/pr-size-label-action@ # v1.2.0