Skip to content

Commit fda8200

Browse files
committed
Limit release action to semantic version tags
1 parent 72ff7b7 commit fda8200

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: Release
33
on:
44
push:
55
branches: main
6+
tags:
7+
- '[0-9]+.[0-9]+.[0-9]+'
68

79
permissions:
810
contents: write
911

1012
jobs:
1113
release:
1214
runs-on: ubuntu-latest
13-
if: startsWith(github.ref, 'refs/tags/')
1415
steps:
1516
- name: Checkout
1617
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

0 commit comments

Comments
 (0)