Skip to content

Commit

Permalink
.github/workflows: Use upstream pr-size-labeler and ignore go.sum
Browse files Browse the repository at this point in the history
Reference: CodelyTV/pr-size-labeler#26

The customization capabilities were merged awhile ago, but switching this back to upstream was missed.
  • Loading branch information
bflad committed Aug 19, 2022
1 parent 8afd54c commit 659ef3a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ 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
Expand All @@ -10,8 +15,7 @@ jobs:
with:
configuration-path: .github/labeler-pull-request-triage.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# See also: https://github.com/CodelyTV/pr-size-labeler/pull/26
- uses: bflad/pr-size-labeler@7df62b12a176513631973abfe151d2b6213c3f12
- uses: CodelyTV/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/XS'
Expand All @@ -24,3 +28,4 @@ jobs:
l_max_size: '300'
xl_label: 'size/XL'
message_if_xl: ''
files_to_ignore: 'go.sum'

0 comments on commit 659ef3a

Please sign in to comment.