sync-project-issue-state.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: Project Issue State Sync
  2. on:
  3. schedule:
  4. # Run once every day at mid day
  5. - cron: 00 12 * * *
  6. workflow_dispatch:
  7. # Manual trigger
  8. jobs:
  9. issue-state-sync:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Sync issue states
  13. uses: dasmerlon/project-issue-state-sync@v2
  14. with:
  15. # The secrets.PROJECT_ISSUE_SYNC_TOKEN is a fine-grained PAT with the following permissions:
  16. # - Repo
  17. # - Deployments: Read and write
  18. # - Issues: Read and write
  19. # - Pull requests: Read and write
  20. # - Organization:
  21. # - Administration: Read only
  22. # - Projects: Read and write
  23. # - Secrets: Read only
  24. # And has access to the following repos:
  25. # - taipy
  26. # - taipy-enterprise
  27. # - taipy-doc
  28. # - taipy-cloud
  29. # - website
  30. # - taipy-benchmark
  31. # - taipy-integration-testing
  32. # - taipy-enterprise-integration-testing
  33. # - taipy-studio
  34. # - taipy-studio-gui
  35. # - taipy-studio-config
  36. # - Taipy-config-builder
  37. # If more repos are added to the project, the PAT needs to be recreated with new access.
  38. github_token: ${{ secrets.PROJECT_ISSUE_SYNC_TOKEN }}
  39. owner: Avaiga
  40. project_number: 6
  41. # If the issue is in the Closed column, it will be closed.
  42. closed_statuses: Closed
  43. # If the issue is in any of the following columns, it will be opened.
  44. open_statuses: New Issues - waiting for triage,Icebox,Contributor,Product Backlog,Sprint Backlog,In Progress,Review/QA