Skip to content

build(deps): bump actions/add-to-project from 0.5.0 to 2.0.0 - #115

Open
dependabot[bot] wants to merge 1 commit into
wire/stablefrom
dependabot/github_actions/actions/add-to-project-2.0.0
Open

dependabot[bot] wants to merge 1 commit into
wire/stablefrom
dependabot/github_actions/actions/add-to-project-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026

Copy link
Copy Markdown

Bumps actions/add-to-project from 0.5.0 to 2.0.0.

Release notes

Sourced from actions/add-to-project's releases.

v2

What's Changed

... (truncated)

Commits
  • 5afcf98 Merge pull request #712 from salmanmkc/node24
  • ffed68f Merge main and update action runtime to Node 24
  • 27022a1 Merge pull request #777 from actions/dependabot/npm_and_yarn/types/node-25.5.0
  • cc89d2e Merge pull request #778 from actions/dependabot/npm_and_yarn/globals-17.4.0
  • ef8e6ff Merge pull request #779 from actions/dependabot/npm_and_yarn/eslint-plugin-je...
  • eb406b3 Merge pull request #780 from actions/dependabot/npm_and_yarn/handlebars-4.7.9
  • bb8d4d7 Bump handlebars from 4.7.8 to 4.7.9
  • a6fcf8b Bump eslint-plugin-jest from 29.12.1 to 29.15.1
  • b35f5d3 Bump globals from 17.0.0 to 17.4.0
  • 036fea0 Bump @​types/node from 25.0.3 to 25.5.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.5.0 to 2.0.0.
- [Release notes](https://github.com/actions/add-to-project/releases)
- [Commits](actions/add-to-project@v0.5.0...v2.0.0)

---
updated-dependencies:
- dependency-name: actions/add-to-project
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 21, 2026
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v2.0.0

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:

The workflow runs actions/add-to-project from mutable tag v2.0.0, so a tag change could execute attacker-controlled code with ADD_TO_PROJECT_PAT.

More details about this

actions/add-to-project@v2.0.0 is a mutable release tag, not an immutable commit reference. The action owner—or an attacker who compromises that repository—could move v2.0.0 to a malicious commit without changing this workflow.

A plausible attack would be:

  1. An attacker repoints the v2.0.0 tag in actions/add-to-project to code that still appears to add issues to the project but also reads ${{ secrets.ADD_TO_PROJECT_PAT }}.
  2. Someone opens an issue, triggering the add-to-project job through the issues workflow event.
  3. The runner executes the newly tagged action with the github-token value supplied from secrets.ADD_TO_PROJECT_PAT.
  4. The malicious action sends that token to an attacker-controlled endpoint, allowing the attacker to use the PAT's GitHub permissions to access or modify project and repository data.

To resolve this comment:

🔧 No guidance has been designated for this issue. Fix according to your organization's approved methods.

💬 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.

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

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

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants