Add issues: write
permission to release workflow to close associated GitHub milestone
#257
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
name: "Pull Request Triage" | |
on: [pull_request_target] | |
permissions: | |
# CodelyTV/pr-size-labeler uses issues URL for labeling | |
issues: write | |
pull-requests: write | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | |
with: | |
configuration-path: .github/labeler-pull-request-triage.yml | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
- uses: CodelyTV/pr-size-labeler@54ef36785e9f4cb5ecf1949cfc9b00dbb621d761 # v1.8.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
xs_label: 'size/XS' | |
xs_max_size: '30' | |
s_label: 'size/S' | |
s_max_size: '60' | |
m_label: 'size/M' | |
m_max_size: '150' | |
l_label: 'size/L' | |
l_max_size: '300' | |
xl_label: 'size/XL' | |
message_if_xl: '' | |
files_to_ignore: 'go.sum' |