Issue Labeler #16
This file contains hidden or 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: Issue Labeler Workflow | |
| # Description: This workflow uses the github/issue-labeler action to automatically | |
| # add labels to new and edited issues based on keywords found in the | |
| # issue's title and body. | |
| # Purpose: Automate issue triage and categorization. | |
| # Triggers: An issue is opened or edited. | |
| name: Issue Labeler | |
| on: | |
| issues: | |
| types: [opened, edited] | |
| # Ensures that only the latest run for a given issue will proceed. | |
| concurrency: | |
| group: ${{ github.repository }}-${{ github.event.issue.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| # The token needs permission to write to issues to add labels. | |
| permissions: | |
| issues: write | |
| steps: | |
| # This action can read the config file from the repository without a checkout. | |
| - name: Label issues based on keywords | |
| uses: github/issue-labeler@v3.3 | |
| with: | |
| configuration-path: .github/labeler.yml | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| enable-versioned-regex: true | |
| sync-labels: true |