Skip to content

Commit 04145a2

Browse files
committed
fix(release): pass version-format to the tag job
common-release-tag.yml now validates the version and the ref itself rather than trusting that prepare validated the same values (CodeQL flagged the privileged checkout on an unvalidated ref in reqstool/.github#66). Validating the version needs to know which format to validate against. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
1 parent 11328a9 commit 04145a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
contents: write
7373
with:
7474
version: ${{ needs.prepare.outputs.version }}
75+
version-format: pep440
7576
ref: ${{ inputs.ref }}
7677

7778
# Rebuilt from the tag, which is what gives the artifacts their version:

0 commit comments

Comments
 (0)