Skip to content

Commit

Permalink
Fix escaping in quoted regexp
Browse files Browse the repository at this point in the history
Double quotes requires escaping the backslashes but single quotes does not: https://yaml.org/spec/1.2.2/#double-quoted-style
  • Loading branch information
jdbaldry authored Nov 15, 2023
1 parent 2cefcb3 commit 80304d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-technical-documentation-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
uses: ./actions/has-matching-release-tag
with:
ref_name: ${{ github.ref_name }}
release_tag_regexp: '^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$'
release_branch_regexp: '^release-(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$'
release_tag_regexp: '^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$'
release_branch_regexp: '^release-(0|[1-9]\d*)\.(0|[1-9]\d*)$'

- name: Determine technical documentation version
if: steps.has-matching-release-tag.outputs.bool == 'true'
Expand Down

0 comments on commit 80304d2

Please sign in to comment.