labeler.yml 595 B

123456789101112131415161718192021222324
  1. name: "Issue Labeler"
  2. on:
  3. issues:
  4. types: [opened, edited]
  5. pull_request:
  6. types: [opened, edited]
  7. permissions:
  8. contents: read
  9. jobs:
  10. triage:
  11. permissions:
  12. contents: read # for github/issue-labeler to get repo contents
  13. issues: write # for github/issue-labeler to create or remove labels
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: github/issue-labeler@v2.5
  17. with:
  18. repo-token: "${{ secrets.GITHUB_TOKEN }}"
  19. configuration-path: .github/labeler.yml
  20. not-before:
  21. enable-versioned-regex: 0
  22. include-title: 1