mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Merge pull request #12993 from AlexSCorey/fixWorkflow
Gives enhanced permissions so that it can update dependabot pr bodies
This commit is contained in:
3
.github/workflows/update_dependabot_prs.yml
vendored
3
.github/workflows/update_dependabot_prs.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: Dependency Pr Update
|
name: Dependency Pr Update
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
types: [labeled, opened, reopened]
|
types: [labeled, opened, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -9,6 +9,7 @@ jobs:
|
|||||||
name: Update Dependabot Prs
|
name: Update Dependabot Prs
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'dependencies') && contains(github.event.pull_request.labels.*.name, 'component:ui')
|
if: contains(github.event.pull_request.labels.*.name, 'dependencies') && contains(github.event.pull_request.labels.*.name, 'component:ui')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions: write-all
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
|
|||||||
Reference in New Issue
Block a user