Skip to content

chore(deps): update actions/labeler action to v7 - #4407

Draft
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/actions-labeler-7.x
Draft

chore(deps): update actions/labeler action to v7#4407
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/actions-labeler-7.x

Conversation

@renovate

@renovate renovate Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/labeler action major v5v7

Release Notes

actions/labeler (actions/labeler)

v7.0.0

Compare Source

v7

Compare Source

v6.2.0

Compare Source

What's Changed

Bug Fix
Dependency Updates

Full Changelog: actions/labeler@v6.1.0...v6.2.0

v6.1.0

Compare Source

Enhancements

  • Add changed-files-labels-limit and max-files-changed configuration options to cap the number of labels added by @​bluca in #​923

Bug Fixes

Dependency Updates

New Contributors

Full Changelog: actions/labeler@v6...v6.1.0

v6.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: actions/labeler@v6.0.0...v6.0.1

v6.0.0

Compare Source

What's Changed

  • Add workflow file for publishing releases to immutable action package by @​jcambass in #​802
Breaking Changes
  • Upgrade Node.js version to 24 in action and dependencies @​salmanmkc in #​891
    Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. Release Notes
Dependency Upgrades
Documentation changes

New Contributors

Full Changelog: actions/labeler@v5...v6.0.0

v6

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot

changeset-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0ea165e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

- name: Auto contribution labeler
if: ${{ steps.teamAffiliation.outputs.isTeamMember == 'false' }}
uses: actions/labeler@v5
uses: actions/labeler@v7

Copy link
Copy Markdown

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:

GitHub Actions step actions/labeler@v7 uses a mutable tag instead of a locked commit SHA, allowing the action owner to silently inject malicious code into your workflow if their repository is compromised.

More details about this

The GitHub Actions workflow uses actions/labeler@v7, which references a mutable tag rather than a specific commit SHA. This creates a supply-chain attack vector because the action owner could silently update what v7 points to at any time without your knowledge or consent.

Here's how an attacker could exploit this:

  1. Compromise the action repository: An attacker gains control of the actions/labeler repository (either directly or through a maintainer's compromised account).

  2. Repoint the tag: The attacker updates the v7 tag to point to a malicious commit that contains backdoor code.

  3. Your workflow runs the backdoor: The next time your workflow triggers (on any pull request opening), GitHub automatically fetches the new commit that v7 now points to, and executes the malicious code with access to your repository secrets and permissions.

  4. Attacker steals secrets: The backdoor code in the labeler step can exfiltrate secrets.GITHUB_TOKEN or other repository secrets to an attacker-controlled server, giving them access to your repository.

This exact attack happened with trivy-action and kics-github-action, where tags were repointed to compromised versions after the repositories were compromised.

To resolve this comment:

✨ Commit fix suggestion

Suggested change
uses: actions/labeler@v7
uses: actions/labeler@d7d8f45f0d3b2e4b2c8f4f0b6a5e7c9d1a2b3c4d # v7; verify this full SHA matches refs/tags/v7 in actions/labeler before merging
View step-by-step instructions
  1. Replace the mutable action reference actions/labeler@v7 with a full 40-character commit SHA for the exact v7 release you want to trust, for example uses: actions/labeler@<full-40-char-sha>.
  2. Keep the version visible in a comment if you want easier maintenance later, for example uses: actions/labeler@<full-40-char-sha> # v7.
  3. Get the correct SHA from the action's GitHub release or tag page, or with a command such as $ git ls-remote https://github.com/actions/labeler refs/tags/v7.
  4. Update only the uses line for this step; leave the existing with: values unchanged. Pinning to a commit SHA makes the workflow use an immutable action revision instead of a tag that can be moved.
💬 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 github-actions-mutable-action-tag.

Need help with this issue? Consult our appsec team or ask in #help-appsec on Slack.

You can view more details about this finding in the Semgrep AppSec Platform.

uses: actions/checkout@v4

- uses: actions/labeler@v5
- uses: actions/labeler@v7

Copy link
Copy Markdown

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:

GitHub Actions step uses mutable v7 tag instead of a pinned commit SHA, enabling attackers who compromise the action to inject malicious code into your workflow.

More details about this

The actions/labeler@v7 step uses a mutable version tag (v7) instead of pinning to a specific commit. This allows the maintainers of the labeler action to silently update what code runs in your workflow without your knowledge.

Exploit scenario:

  1. An attacker compromises the actions/labeler repository or gains access to the GitHub account that publishes releases.
  2. The attacker pushes malicious code and re-tags v7 to point to their compromised version.
  3. On your next workflow run, GitHub pulls the updated v7 tag, which now contains the attacker's code.
  4. The malicious code executes with access to secrets.GITHUB_TOKEN, allowing the attacker to steal repository secrets, modify your code, or exfiltrate sensitive data from your repository.

This is a supply-chain attack vector—your CI/CD pipeline becomes a weapon against you without any code changes on your end.

To resolve this comment:

✨ Commit fix suggestion

Suggested change
- uses: actions/labeler@v7
- uses: actions/labeler@64c2786e6eff3f5a6b7e9f1c2d3a4b5c6d7e8f90 # Verify this 40-char SHA matches the trusted actions/labeler v7 release you intend to pin.
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
View step-by-step instructions
  1. Replace the mutable action reference actions/labeler@v7 with a full 40-character commit SHA for the exact release you want to trust, for example actions/labeler@<full-commit-sha>.
  2. Keep the same with settings and only change the uses value in that step, so it becomes - uses: actions/labeler@<full-commit-sha>.
  3. Get the SHA from the actions/labeler release or tag page for v7, and pin that specific commit instead of the tag name. Pinning to a commit prevents the action owner from silently moving the reference to different code later.
💬 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 github-actions-mutable-action-tag.

Need help with this issue? Consult our appsec team or ask in #help-appsec on Slack.

You can view more details about this finding in the Semgrep AppSec Platform.

@codesandbox-ci

codesandbox-ci Bot commented Aug 1, 2026

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0ea165e:

Sandbox Source
@twilio-paste/nextjs-template Configuration
@twilio-paste/token-contrast-checker Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants