Skip to content

Commit

Permalink
github-actions: dependabot cannot use the id-token:write (#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Dec 2, 2024
1 parent 9c0b926 commit 4cc5cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
needs: [ 'format', 'tests' ]
if: |
github.event_name != 'pull_request'
|| github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
|| github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]'
env:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
Expand Down

0 comments on commit 4cc5cd8

Please sign in to comment.