Add pull request and id-token write permissions to publish.yaml #1334
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow applies labels to pull requests based on the paths that are | |
# modified in the pull request. | |
# | |
# Edit `.github/labeler.yml` to configure labels. For more information, see | |
# https://github.com/actions/labeler. | |
name: Pull Request Labeler | |
permissions: read-all | |
on: | |
pull_request_target | |
jobs: | |
label: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true |