-
Notifications
You must be signed in to change notification settings - Fork 31
chore(deps): update amannn/action-semantic-pull-request action to v6 #906
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?
Conversation
|
@launchdarkly/browser size report |
7f02743 to
4462f50
Compare
4462f50 to
24c1791
Compare
|
@launchdarkly/js-sdk-common size report |
|
@launchdarkly/js-client-sdk size report |
|
@launchdarkly/js-client-sdk-common size report |
a838a12 to
ce5b9fa
Compare
0db1c6d to
92e471a
Compare
6450d52 to
17c8443
Compare
6d1eeef to
8841fbd
Compare
609154c to
a863166
Compare
8e9c25e to
30b3c29
Compare
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: amannn/action-semantic-pull-request@v5 | ||
| - uses: amannn/action-semantic-pull-request@v6 |
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.
Semgrep identified an issue in your code:
An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.
To resolve this comment:
✨ Commit Assistant fix suggestion
| - uses: amannn/action-semantic-pull-request@v6 | |
| # Pinned to v6.0.0 commit SHA for security and immutability | |
| - uses: amannn/action-semantic-pull-request@3e2c24303b82e3c3965b7be22151a371a51046ce |
View step-by-step instructions
- Change the
uses: amannn/action-semantic-pull-request@v6line to reference a specific full length commit SHA rather than a tag. - Visit the amannn/action-semantic-pull-request GitHub repository releases page, find the SHA for the specific version you want (for example, v6), and copy its full commit SHA (a 40 character hexadecimal string).
- Update the action reference to use the format
uses: amannn/action-semantic-pull-request@<commit-sha>, replacing<commit-sha>with the SHA you copied.
For example,uses: amannn/action-semantic-pull-request@3e2c24303b82e3c3965b7be22151a371a51046ce
Pinning to a commit SHA ensures the action is not updated unexpectedly, which helps lock your workflow to a trusted version.
💬 Ignore this finding
Reply with Semgrep commands to ignore this finding.
/fp <comment>for false positive/ar <comment>for acceptable risk/other <comment>for all other reasons
Alternatively, triage in Semgrep AppSec Platform to ignore the finding created by third-party-action-not-pinned-to-commit-sha.
You can view more details about this finding in the Semgrep AppSec Platform.
30b3c29 to
6589e0a
Compare
This PR contains the following updates:
v5->v6Release Notes
amannn/action-semantic-pull-request (amannn/action-semantic-pull-request)
v6Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Note
Bump the PR title linting action in the workflow to amannn/action-semantic-pull-request v6.
/.github/workflows/lint-pr-title.ymlto useamannn/action-semantic-pull-request@v6(fromv5).Written by Cursor Bugbot for commit 6589e0a. This will update automatically on new commits. Configure here.