File tree Expand file tree Collapse file tree 3 files changed +68
-0
lines changed Expand file tree Collapse file tree 3 files changed +68
-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@v4
12+
13+ - name : Sync issue comments to JIRA
14+ uses : espressif/sync-jira-actions@v1
15+ env :
16+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
18+ JIRA_PROJECT : SRV
19+ JIRA_COMPONENT : GitHub
20+ JIRA_URL : ${{ secrets.JIRA_URL }}
21+ 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@v4
12+
13+ - name : Sync GitHub issues to Jira project
14+ uses : espressif/sync-jira-actions@v1
15+ env :
16+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
18+ JIRA_PROJECT : SRV
19+ JIRA_COMPONENT : GitHub
20+ JIRA_URL : ${{ secrets.JIRA_URL }}
21+ 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@v4
15+
16+ - name : Sync PRs to Jira project
17+ uses : espressif/sync-jira-actions@v1
18+ with :
19+ cron_job : true
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
23+ JIRA_PROJECT : SRV
24+ JIRA_COMPONENT : GitHub
25+ JIRA_URL : ${{ secrets.JIRA_URL }}
26+ JIRA_USER : ${{ secrets.JIRA_USER }}
You can’t perform that action at this time.
0 commit comments