Add project label (#11) #5
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: labeler | |
on: | |
push: | |
branches: | |
# Not a huge fan of this but we only have one branch so | |
- 'v1' | |
paths: | |
- '.github/labels.yml' | |
- '.github/workflows/labeler.yml' | |
pull_request: | |
paths: | |
- '.github/labels.yml' | |
- '.github/workflows/labeler.yml' | |
jobs: | |
labeler: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Run Labeler | |
uses: crazy-max/ghaction-github-labeler@de749cf181958193cb7debf1a9c5bb28922f3e1b | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .github/labels.yml | |
dry-run: ${{ github.event_name == 'pull_request' }} | |
exclude: | | |
help* | |
*issue |