diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48bc9e26..2033e360 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,12 @@ name: Release on: - release: - types: [created] + release: + types: [created] + push: + tags: + # run only against tags that follow semver (https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string) + - 'v[0-9]+.[0-9]+.[0-9]+*' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}