Skip to content

Commit

Permalink
Merge pull request #3316 from atlanhq/AM-1406-staging
Browse files Browse the repository at this point in the history
AM-1406 | Add git action for jira id in PR title
  • Loading branch information
jblaze2908 authored Jul 9, 2024
2 parents d974d1a + 6ad5337 commit 0bc8669
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/github-actions-pr-jira.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: GitHub-Jira Link Action
run-name: ${{ github.actor }} is ensuring Jira ID is present in PR title
on:
pull_request:
types: [opened, edited, synchronize, reopened]
branches: [main, staging, master, beta, develop, prod, development]

jobs:
Enforce-GitHub-Jira-Link-Action:
runs-on: ubuntu-latest
if: ${{ !contains(fromJson('["main", "staging", "master", "beta", "develop", "prod", "development"]'), github.event.pull_request.head.ref) }}
steps:
- name: Enforce Pull Request Title includes Jira Issue Key
uses: ryanvade/[email protected]

0 comments on commit 0bc8669

Please sign in to comment.