add-to-project.yml 744 B

1234567891011121314151617181920212223242526
  1. name: Add issues to Agent Board
  2. on:
  3. issues:
  4. types:
  5. - opened
  6. - transferred
  7. jobs:
  8. add-to-project:
  9. name: Add issue to project
  10. if: github.repository == 'netdata/netdata'
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Add issues to Agent project board
  14. uses: actions/add-to-project@v1.0.2
  15. with:
  16. project-url: https://github.com/orgs/netdata/projects/32
  17. github-token: ${{ secrets.NETDATABOT_ORG_GITHUB_TOKEN }}
  18. - name: Add issues to Product Bug project board
  19. uses: actions/add-to-project@v1.0.2
  20. with:
  21. project-url: https://github.com/orgs/netdata/projects/45
  22. github-token: ${{ secrets.NETDATABOT_ORG_GITHUB_TOKEN }}
  23. labeled: bug