forked from apache/atlas
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add git action for jira id in PR title
- Loading branch information
1 parent
d974d1a
commit 6ad5337
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |