Skip to content

Commit

Permalink
[ignore] Update jira sync triggers and enable auto PR linking (#1285)
Browse files Browse the repository at this point in the history
* [ignore] Update jira sync triggers and enable auto PR linking

* [ignore] Added all pr target trigger types
  • Loading branch information
samiib authored Sep 17, 2024
1 parent 3722887 commit 8e3ef07
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/jira-issue-sync.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
name: Sync GitHub Issues & Pull Requests to Jira

on: [issues, issue_comment, pull_request]
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
issues:
issue_comment:
concurrency: jira_issues

jobs:
Expand All @@ -10,11 +31,12 @@ jobs:
- uses: actions/checkout@v4

- name: Sync GitHub Issues & Pull Requests to Jira
uses: ciscoecosystem/sync-jira-actions@v1.1
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 }}
Expand Down

0 comments on commit 8e3ef07

Please sign in to comment.