Skip to content

Commit fa80172

Browse files
author
Jean-Philippe Zolesio
committed
Fix Commit Injection from dependency bot automerge workflow
1 parent d745281 commit fa80172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
dependabot:
1111
runs-on: ubuntu-latest
12-
if: ${{ github.actor == 'dependabot[bot]' }}
12+
if: ${{ github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'adobe/css-tools'}}
1313
steps:
1414
- name: Dependabot metadata
1515
id: metadata

0 commit comments

Comments
 (0)