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:
Keith Williams 2024-01-02 09:34:59 -05:00 committed by GitHub
parent f848a44f1a
commit 1a3e4d10c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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