issue-triager.yml 694 B

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