File tree Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sync issue comments to JIRA
2+
3+ # This workflow will be triggered when new issue comment is created (including PR comments)
4+ on : issue_comment
5+
6+ jobs :
7+ sync_issue_comments_to_jira :
8+ name : Sync Issue Comments to Jira
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@master
12+ - name : Sync issue comments to JIRA
13+ uses : espressif/github-actions/sync_issues_to_jira@master
14+ env :
15+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
17+ JIRA_PROJECT : LLVM
18+ JIRA_URL : ${{ secrets.JIRA_URL }}
19+ JIRA_USER : ${{ secrets.JIRA_USER }}
Original file line number Diff line number Diff line change 1+ name : Sync issues to Jira
2+
3+ # This workflow will be triggered when a new issue is opened
4+ on : issues
5+
6+ jobs :
7+ sync_issues_to_jira :
8+ name : Sync issues to Jira
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@master
12+ - name : Sync GitHub issues to Jira project
13+ uses : espressif/github-actions/sync_issues_to_jira@master
14+ env :
15+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
17+ JIRA_PROJECT : LLVM
18+ JIRA_URL : ${{ secrets.JIRA_URL }}
19+ JIRA_USER : ${{ secrets.JIRA_USER }}
Original file line number Diff line number Diff line change 1+ name : Sync remain PRs to Jira
2+
3+ # This workflow will be triggered every hour, to sync remaining PRs (i.e. PRs with zero comment) to Jira project
4+ # Note that, PRs can also get synced when new PR comment is created
5+ on :
6+ schedule :
7+ - cron : " 0 * * * *"
8+
9+ jobs :
10+ sync_prs_to_jira :
11+ name : Sync PRs to Jira
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@master
15+ - name : Sync PRs to Jira project
16+ uses : espressif/github-actions/sync_issues_to_jira@master
17+ with :
18+ cron_job : true
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
22+ JIRA_PROJECT : LLVM
23+ JIRA_URL : ${{ secrets.JIRA_URL }}
24+ JIRA_USER : ${{ secrets.JIRA_USER }}
You can’t perform that action at this time.
0 commit comments