add_to_project.yml 507 B

123456789101112131415161718192021
  1. name: Add bugs to bugs project
  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. steps:
  11. - uses: actions/add-to-project@v1.0.2
  12. with:
  13. # You can target a project in a different organization
  14. # to the issue
  15. project-url: https://github.com/orgs/nightscout/projects/2
  16. github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
  17. labeled: bug, needs-triage
  18. label-operator: OR