modify git actions release workflow for updated github token permissions #139
Workflow file for this run
This file contains 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
# workflows do not have same permissions across forks pr. from same repo (branch to branch) | |
# labeler cant write across forks https://github.com/actions/labeler/issues/12 | |
# but has now been fixed https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/ | |
name: Labeler | |
on: [pull_request_target] | |
jobs: | |
label: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: windows-latest | |
steps: | |
- uses: actions/labeler@v5 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |