-
Notifications
You must be signed in to change notification settings - Fork 98
49 lines (47 loc) · 1.18 KB
/
jira-issue-sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Sync GitHub Issues & Pull Requests to Jira
on:
pull_request_target:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- closed
- reopened
- synchronize
- converted_to_draft
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_removed
- auto_merge_enabled
- auto_merge_disabled
workflow_run:
workflows: [jira-issue-sync-pr-review]
types:
- completed
issues:
issue_comment:
concurrency: jira_issues
jobs:
sync_issues_to_jira:
runs-on: ubuntu-latest
steps:
- name: Sync GitHub Issues & Pull Requests to Jira
uses: ciscoecosystem/sync-jira-actions@v1
with:
sync_label: jira-sync
status_field_id: 10740
find_jira_retries: 0
link_closing_issues: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JIRA_PASS: ${{ secrets.JIRA_PASS }}
JIRA_USER: ${{ secrets.JIRA_USER }}
JIRA_URL: ${{ secrets.JIRA_URL }}
JIRA_PROJECT: DCNE
JIRA_COMPONENT: ansible-aci
JIRA_ISSUE_TYPE: GitHub Issue