From faa79525c24da12dd15b79031714324551557746 Mon Sep 17 00:00:00 2001 From: Sandhya Buddharaju Date: Fri, 3 Jan 2025 07:25:09 +0000 Subject: [PATCH] Updated the trigger to run on main branch Updated the trigger to run on main branch ND-271 --- .github/workflows/dependabot-pr-to-jira-trigger.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependabot-pr-to-jira-trigger.yml b/.github/workflows/dependabot-pr-to-jira-trigger.yml index e8700f3c..c15f0402 100644 --- a/.github/workflows/dependabot-pr-to-jira-trigger.yml +++ b/.github/workflows/dependabot-pr-to-jira-trigger.yml @@ -1,15 +1,16 @@ name: Add Issue to Jira Board On new Dependabot PR's - on: pull_request_target: types: - opened - review_requested + branches: + - main jobs: call-workflow-dependabot-pr-to-jira: if: github.event.issues.user.login == 'dependabot[bot]' - # uses: ministryofjustice/nvvs-devops-github-actions/.github/workflows/dependabot-pr-to-jira.yml@main + uses: ministryofjustice/staff-device-dns-dhcp-admin/.github/workflows/dependabot-pr-to-jira.yml@main secrets: TECH_SERVICES_JIRA_URL: ${{ secrets.TECH_SERVICES_JIRA_URL }} TECH_SERVICES_JIRA_EMAIL: ${{ secrets.TECH_SERVICES_JIRA_EMAIL }}