Skip to content

Commit

Permalink
OQS 213 add Jira ticket/branch naming check
Browse files Browse the repository at this point in the history
  • Loading branch information
renefritze committed Jun 13, 2024
1 parent c9cfbed commit b0e4b8f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/jira-branch-check.yml
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 }}

0 comments on commit b0e4b8f

Please sign in to comment.