bunnybee #20
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: PR Labeler | |
on: | |
pull_request: | |
types: [opened] | |
permissions: | |
contents: read | |
jobs: | |
pr-labeler: | |
permissions: | |
contents: read # for TimonVS/pr-labeler-action to read config file | |
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR | |
runs-on: ubuntu-latest | |
steps: | |
- uses: TimonVS/pr-labeler-action@v5 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
configuration-path: .github/labels.yml # optional, .github/pr-labeler.yml is the default value |