add-issue-to-project.yaml 514 B

1234567891011121314151617181920
  1. name: Add bugs to bugs project
  2. on:
  3. issues:
  4. types:
  5. - labeled
  6. jobs:
  7. add-to-project:
  8. name: Add issue to project
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/[email protected]
  12. with:
  13. # You can target a repository in a different organization
  14. # to the issue
  15. project-url: https://github.com/users/PhaserEditor2D/projects/2
  16. github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
  17. labeled: Bug, Enhancement
  18. label-operator: OR