Skip to content

Commit

Permalink
Updated the trigger to run on main branch
Browse files Browse the repository at this point in the history
Updated the trigger to run on main branch
ND-271
  • Loading branch information
sb21460 committed Jan 3, 2025
1 parent 851d83e commit faa7952
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dependabot-pr-to-jira-trigger.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit faa7952

Please sign in to comment.