Skip to content

Commit

Permalink
Fix Commit Injection from dependency bot automerge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Philippe Zolesio committed Feb 12, 2025
1 parent d745281 commit fa80172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'adobe/css-tools'}}
steps:
- name: Dependabot metadata
id: metadata
Expand Down

0 comments on commit fa80172

Please sign in to comment.