2019-10-22 11:52:12 +00:00
|
|
|
name: Sync remain PRs to Jira
|
2019-09-04 07:36:50 +00:00
|
|
|
|
2019-10-22 11:52:12 +00:00
|
|
|
# This workflow will be triggered every hour, to sync remaining PRs (i.e. PRs with zero comment) to Jira project
|
|
|
|
# Note that, PRs can also get synced when new PR comment is created
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 * * * *"
|
2019-09-04 07:36:50 +00:00
|
|
|
|
2022-01-07 11:51:51 +00:00
|
|
|
# Limit to single concurrent run for workflows which can create Jira issues.
|
|
|
|
# Same concurrency group is used in issue_comment.yml
|
|
|
|
concurrency: jira_issues
|
|
|
|
|
2019-08-12 11:45:48 +00:00
|
|
|
jobs:
|
2019-10-22 11:52:12 +00:00
|
|
|
sync_prs_to_jira:
|
|
|
|
name: Sync PRs to Jira
|
2019-08-12 11:45:48 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-30 08:13:10 +00:00
|
|
|
- uses: actions/checkout@v3
|
2019-10-22 11:52:12 +00:00
|
|
|
- name: Sync PRs to Jira project
|
2019-09-04 07:36:50 +00:00
|
|
|
uses: espressif/github-actions/sync_issues_to_jira@master
|
2019-10-22 11:52:12 +00:00
|
|
|
with:
|
|
|
|
cron_job: true
|
2019-09-04 07:36:50 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
JIRA_PASS: ${{ secrets.JIRA_PASS }}
|
|
|
|
JIRA_PROJECT: IDFGH
|
|
|
|
JIRA_URL: ${{ secrets.JIRA_URL }}
|
|
|
|
JIRA_USER: ${{ secrets.JIRA_USER }}
|