summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Corey <alex.swansboro@gmail.com>2022-10-03 22:28:04 +0200
committerAlex Corey <alex.swansboro@gmail.com>2022-10-03 22:28:04 +0200
commitaae57378f0fb3c2c8843a1b202244716a341cf9c (patch)
tree41e572f830f152557b4939f505f96c1b12f18450
parentMerge pull request #12728 from john-westcott-iv/ig_fallback (diff)
downloadawx-aae57378f0fb3c2c8843a1b202244716a341cf9c.tar.xz
awx-aae57378f0fb3c2c8843a1b202244716a341cf9c.zip
Gives enhanced permissions so that it can update dependabot pr bodies
-rw-r--r--.github/workflows/update_dependabot_prs.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/update_dependabot_prs.yml b/.github/workflows/update_dependabot_prs.yml
index a61eb1c172..bad60857d6 100644
--- a/.github/workflows/update_dependabot_prs.yml
+++ b/.github/workflows/update_dependabot_prs.yml
@@ -1,7 +1,7 @@
---
name: Dependency Pr Update
on:
- pull_request:
+ pull_request_target:
types: [labeled, opened, reopened]
jobs:
@@ -9,6 +9,7 @@ jobs:
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