issue-triager.yml 725 B

1234567891011121314151617181920212223242526272829303132
  1. name: Issue triager
  2. on:
  3. issues:
  4. types: [opened]
  5. permissions:
  6. contents: read
  7. jobs:
  8. label:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v1
  12. - uses: damccorm/tag-ur-it@master
  13. with:
  14. repo-token: "${{ secrets.GITHUB_TOKEN }}"
  15. configuration-path: "./.github/triage-rules.yml"
  16. - if: always()
  17. uses: actions/github-script@0.4.0
  18. with:
  19. github-token: ${{secrets.GITHUB_TOKEN}}
  20. script: |
  21. github.issues.addLabels({
  22. issue_number: context.issue.number,
  23. owner: context.repo.owner,
  24. repo: context.repo.repo,
  25. labels: ['status: waiting-for-triage']
  26. })