We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935f994 commit 47bd3d5Copy full SHA for 47bd3d5
1 file changed
.github/workflows/release.yaml
@@ -47,8 +47,13 @@ concurrency:
47
jobs:
48
release:
49
runs-on: ubuntu-latest
50
- # Skip if commit message contains [skip ci]
51
- if: ${{ !contains(github.event.head_commit.message || '', '[skip ci]') }}
+ # Skip if commit message contains [skip ci], and keep prerelease tags
+ # out of the production/latest GitHub Release path.
52
+ if: >-
53
+ ${{
54
+ !contains(github.event.head_commit.message || '', '[skip ci]') &&
55
+ !(github.event_name == 'release' && contains(github.event.release.tag_name || '', '-'))
56
+ }}
57
58
permissions:
59
contents: write
0 commit comments