Skip to content

Commit

Permalink
ci: fix dependabot auto-merge workflow condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hbollon committed Sep 11, 2024
1 parent 258c88a commit d4dd0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event.label.name == 'dependencies' }}
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.issue.labels.*.name, 'dependencies')

steps:
- name: Dependabot metadata
Expand Down

0 comments on commit d4dd0d4

Please sign in to comment.