add_to_project.yml 575 B

1234567891011121314151617181920212223
  1. name: zzz [DO NOT RUN] Add Bugs to Project 'Bugs'
  2. on:
  3. issues:
  4. types:
  5. - opened
  6. jobs:
  7. add-to-project:
  8. name: Add issue to project
  9. runs-on: ubuntu-latest
  10. if: github.repository_owner == 'nightscout'
  11. steps:
  12. - uses: actions/add-to-project@v1.0.2
  13. with:
  14. # You can target a project in a different organization
  15. # to the issue
  16. project-url: https://github.com/orgs/nightscout/projects/2
  17. github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
  18. labeled: bug, needs-triage
  19. label-operator: OR