Skip to content

Commit

Permalink
ci(dep): add missing permissions and second attempt to fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hbollon committed Sep 11, 2024
1 parent d049121 commit 0db5a57
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dependabot_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.issue.labels.*.name, 'dependencies')
if: github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies')

steps:
- name: Dependabot metadata
Expand Down

0 comments on commit 0db5a57

Please sign in to comment.