File tree Expand file tree Collapse file tree 3 files changed +77
-0
lines changed Expand file tree Collapse file tree 3 files changed +77
-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
+ # Limit to single concurrent run for workflows which can create Jira issues.
7
+ # Same concurrency group is used in new_issues.yml
8
+ concurrency : jira_issues
9
+
10
+ jobs :
11
+ sync_issue_comments_to_jira :
12
+ name : Sync Issue Comments to Jira
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Sync issue comments to JIRA
17
+ uses : espressif/github-actions/sync_issues_to_jira@master
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
21
+ JIRA_PROJECT : ${{ secrets.JIRA_PROJECT }}
22
+ JIRA_COMPONENT : ${{ secrets.JIRA_COMPONENT }}
23
+ JIRA_URL : ${{ secrets.JIRA_URL }}
24
+ 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
+ # Limit to single concurrent run for workflows which can create Jira issues.
7
+ # Same concurrency group is used in issue_comment.yml
8
+ concurrency : jira_issues
9
+
10
+ jobs :
11
+ sync_issues_to_jira :
12
+ name : Sync issues to Jira
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Sync GitHub issues to Jira project
17
+ uses : espressif/github-actions/sync_issues_to_jira@master
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
21
+ JIRA_PROJECT : ${{ secrets.JIRA_PROJECT }}
22
+ JIRA_COMPONENT : ${{ secrets.JIRA_COMPONENT }}
23
+ JIRA_URL : ${{ secrets.JIRA_URL }}
24
+ 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
+ # Limit to single concurrent run for workflows which can create Jira issues.
10
+ # Same concurrency group is used in issue_comment.yml
11
+ concurrency : jira_issues
12
+
13
+ jobs :
14
+ sync_prs_to_jira :
15
+ name : Sync PRs to Jira
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - name : Sync PRs to Jira project
20
+ uses : espressif/github-actions/sync_issues_to_jira@master
21
+ with :
22
+ cron_job : true
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ JIRA_PASS : ${{ secrets.JIRA_PASS }}
26
+ JIRA_PROJECT : ${{ secrets.JIRA_PROJECT }}
27
+ JIRA_COMPONENT : ${{ secrets.JIRA_COMPONENT }}
28
+ JIRA_URL : ${{ secrets.JIRA_URL }}
29
+ JIRA_USER : ${{ secrets.JIRA_USER }}
You can’t perform that action at this time.
0 commit comments