From bd0513d0f82b8158664270d10c1be92c1deb8f81 Mon Sep 17 00:00:00 2001 From: SameeraPriyathamTadikonda Date: Fri, 6 Jun 2025 15:46:38 -0700 Subject: [PATCH] Create pr-workflow.yaml --- .github/workflows/pr-workflow.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/pr-workflow.yaml diff --git a/.github/workflows/pr-workflow.yaml b/.github/workflows/pr-workflow.yaml new file mode 100644 index 000000000..f2a31ab99 --- /dev/null +++ b/.github/workflows/pr-workflow.yaml @@ -0,0 +1,16 @@ +name: 🏷️ JIRA ID Validator + +on: + # Using pull_request_target instead of pull_request to handle PRs from forks + pull_request_target: + types: [opened, edited, reopened, synchronize] + # No branch filtering - will run on all PRs + +jobs: + jira-pr-check: + name: 🏷️ Validate JIRA ticket ID + # Use the reusable workflow from the central repository + uses: marklogic/pr-workflows/.github/workflows/jira-id-check.yml@main + with: + # Pass the PR title from the event context + pr-title: ${{ github.event.pull_request.title }}