new_prs.yml 757 B

123456789101112131415161718192021222324
  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. jobs:
  8. sync_prs_to_jira:
  9. name: Sync PRs to Jira
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@master
  13. - name: Sync PRs to Jira project
  14. uses: espressif/github-actions/sync_issues_to_jira@master
  15. with:
  16. cron_job: true
  17. env:
  18. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  19. JIRA_PASS: ${{ secrets.JIRA_PASS }}
  20. JIRA_PROJECT: IDFGH
  21. JIRA_URL: ${{ secrets.JIRA_URL }}
  22. JIRA_USER: ${{ secrets.JIRA_USER }}