From bc0952781a06cbbef67c487842cb8faebf53d600 Mon Sep 17 00:00:00 2001 From: Dani Tweig Date: Sun, 15 Mar 2026 18:17:03 +0200 Subject: [PATCH] Update Jira sync calling workflow to consolidated view Replaced multiple per-action workflow jobs with a single consolidated call to main_pr_events_jira_sync.yml. Added 'edited' event trigger. This makes CI actions in PRs more readable and workflow execution faster. Fixes:PM-253 Closes scylladb/scylladb#29042 --- .github/workflows/call_jira_sync.yml | 35 +++++----------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/.github/workflows/call_jira_sync.yml b/.github/workflows/call_jira_sync.yml index 5d30a65cab..e0d45752d8 100644 --- a/.github/workflows/call_jira_sync.yml +++ b/.github/workflows/call_jira_sync.yml @@ -1,8 +1,8 @@ -name: Sync Jira Based on PR Events +name: Sync Jira Based on PR Events on: pull_request_target: - types: [opened, ready_for_review, review_requested, labeled, unlabeled, closed] + types: [opened, edited, ready_for_review, review_requested, labeled, unlabeled, closed] permissions: contents: read @@ -10,32 +10,9 @@ permissions: issues: write jobs: - jira-sync-pr-opened: - if: github.event.action == 'opened' - uses: scylladb/github-automation/.github/workflows/main_jira_sync_pr_opened.yml@main - secrets: - caller_jira_auth: ${{ secrets.USER_AND_KEY_FOR_JIRA_AUTOMATION }} - - jira-sync-in-review: - if: github.event.action == 'ready_for_review' || github.event.action == 'review_requested' - uses: scylladb/github-automation/.github/workflows/main_jira_sync_in_review.yml@main - secrets: - caller_jira_auth: ${{ secrets.USER_AND_KEY_FOR_JIRA_AUTOMATION }} - - jira-sync-add-label: - if: github.event.action == 'labeled' - uses: scylladb/github-automation/.github/workflows/main_jira_sync_add_label.yml@main - secrets: - caller_jira_auth: ${{ secrets.USER_AND_KEY_FOR_JIRA_AUTOMATION }} - - jira-status-remove-label: - if: github.event.action == 'unlabeled' - uses: scylladb/github-automation/.github/workflows/main_jira_sync_remove_label.yml@main - secrets: - caller_jira_auth: ${{ secrets.USER_AND_KEY_FOR_JIRA_AUTOMATION }} - - jira-status-pr-closed: - if: github.event.action == 'closed' - uses: scylladb/github-automation/.github/workflows/main_jira_sync_pr_closed.yml@main + jira-sync: + uses: scylladb/github-automation/.github/workflows/main_pr_events_jira_sync.yml@main + with: + caller_action: ${{ github.event.action }} secrets: caller_jira_auth: ${{ secrets.USER_AND_KEY_FOR_JIRA_AUTOMATION }}