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:
1 parent
f848a44f1a
commit
1a3e4d10c0
1 file changed
+4
@@ -1,11 +1,15 @@
|
||||
name: Assign PR team labels
|
||||
on:
|
||||
workflow_call:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
team-labels:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in new issue
Block a user