зеркало из https://github.com/github/docs.git
Set permissions at the job level rather than the top-level (#25519)
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
This commit is contained in:
Родитель
46f971c637
Коммит
87ed0f7ed7
|
@ -4,13 +4,12 @@ This example workflow uses the [labeler action](https://github.com/actions/label
|
|||
name: Pull request labeler
|
||||
on: [ pull_request_target ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: {% data reusables.actions.action-labeler %}
|
||||
with:
|
||||
|
|
Загрузка…
Ссылка в новой задаче