Skip to content

Commit

Permalink
Gives enhanced permissions so that it can update dependabot pr bodies
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSCorey committed Oct 3, 2022
1 parent 5347637 commit aae5737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_dependabot_prs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
name: Dependency Pr Update
on:
pull_request:
pull_request_target:
types: [labeled, opened, reopened]

jobs:
pr-check:
name: Update Dependabot Prs
if: contains(github.event.pull_request.labels.*.name, 'dependencies') && contains(github.event.pull_request.labels.*.name, 'component:ui')
runs-on: ubuntu-latest
permissions: write-all

steps:
- name: Checkout branch
Expand Down

0 comments on commit aae5737

Please sign in to comment.