-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OQS 213 add Jira ticket/branch naming check
- Loading branch information
1 parent
c9cfbed
commit b0e4b8f
Showing
1 changed file
with
22 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,22 @@ | ||
name: Check Jira key in branch exists and is valid | ||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
- "!main" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
branch-jira-check: | ||
runs-on: ubuntu-24.04 | ||
if: | | ||
startsWith( github.ref_name, 'release') == false && | ||
startsWith( github.ref_name, 'dependabot') == false | ||
steps: | ||
- name: Branch name contains Jira key | ||
uses: arup-group/actions-composite-oasys-jira-check/[email protected] | ||
with: | ||
valid-branch-names: task|test|bugfix|feature|hotfix|epic|debt | ||
jira-username: [email protected] | ||
jira-password: ${{ secrets.JIRA_PASSWORD }} |