chore: Update permissions used for assigning team labels (#12984)
* chore: Inherit secrets for assigning team labels * Added workflow_call for testing * Added this branch for testing * Moved secrets label * Trying to set permissions differently * Removed testing branch
This commit is contained in:
parent
f848a44f1a
commit
1a3e4d10c0
|
@ -1,11 +1,15 @@
|
||||||
name: Assign PR team labels
|
name: Assign PR team labels
|
||||||
on:
|
on:
|
||||||
|
workflow_call:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
team-labels:
|
team-labels:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user