new_prs.yml 910 B

12345678910111213141516171819202122232425262728
  1. name: Sync remain PRs to Jira
  2. # This workflow will be triggered every hour, to sync remaining PRs (i.e. PRs with zero comment) to Jira project
  3. # Note that, PRs can also get synced when new PR comment is created
  4. on:
  5. schedule:
  6. - cron: "0 * * * *"
  7. # Limit to single concurrent run for workflows which can create Jira issues.
  8. # Same concurrency group is used in issue_comment.yml
  9. concurrency: jira_issues
  10. jobs:
  11. sync_prs_to_jira:
  12. name: Sync PRs to Jira
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v3
  16. - name: Sync PRs to Jira project
  17. uses: espressif/github-actions/sync_issues_to_jira@master
  18. with:
  19. cron_job: true
  20. env:
  21. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  22. JIRA_PASS: ${{ secrets.JIRA_PASS }}
  23. JIRA_PROJECT: IDFGH
  24. JIRA_URL: ${{ secrets.JIRA_URL }}
  25. JIRA_USER: ${{ secrets.JIRA_USER }}