Skip to content

Commit

Permalink
Remove repo-token attribute for labeler (#491)
Browse files Browse the repository at this point in the history
`GITHUB.TOKEN` is now the default `repo-token`. Therefore, we don't need
to explicitly provide the `GITHUB.TOKEN`. See
actions/labeler#227 for more information.
  • Loading branch information
nilsreichardt committed Mar 12, 2023
1 parent be058e3 commit c62bc4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull_request_label.yml
Expand Up @@ -35,10 +35,11 @@ jobs:
# For more information, see: https://github.com/actions/labeler
label:
permissions:
# Required by the labeler action, see:
# https://github.com/actions/labeler#inputs
contents: read
pull-requests: write
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/labeler@59036c7b951d5b450848fd1b2b014c036cf91f46
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit c62bc4d

Please sign in to comment.