Skip to content

Commit

Permalink
OPS-0000 fix regexs (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncolincap authored Nov 17, 2023
1 parent 79ccf4a commit 63e3b1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/filter-branch-name.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
- name: Filter branch name
id: step
run: |
echo "ticket=$(echo ${{ inputs.branch_name }} | grep -oE '[a-zA-Z]+-[0-9]+')" >> $GITHUB_OUTPUT
echo "scope=$(echo ${{ inputs.branch_name }} | grep -oE '[a-zA-Z]+-[0-9]+-[a-z]+' | grep -oE '[a-z]+$')" >> $GITHUB_OUTPUT
echo "ticket=$(echo ${{ inputs.branch_name }} | grep -oE '^[a-zA-Z]+-[0-9]+')" >> $GITHUB_OUTPUT
echo "scope=$(echo ${{ inputs.branch_name }} | grep -oE '^[a-zA-Z]+-[0-9]+-[a-z]+' | grep -oE '[a-z]+$')" >> $GITHUB_OUTPUT

0 comments on commit 63e3b1e

Please sign in to comment.