Skip to content

Commit 7549643

Browse files
committed
Don't run workflow for release candidates
Signed-off-by: jamshale <jamiehalebc@gmail.com>
1 parent eb72580 commit 7549643

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/tag-recreate-lts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ permissions:
1313

1414
jobs:
1515
recreate-lts-release:
16-
if: startsWith(github.event.release.tag_name, '1.2.')
16+
# This job will recreate the LTS release if the tag starts with '1.2.' and is not a release candidate
17+
if: startsWith(github.event.release.tag_name, '1.2.') && !contains(github.event.release.tag_name, 'rc')
1718
name: Recreate LTS Release
1819
runs-on: ubuntu-latest
1920
outputs:

0 commit comments

Comments
 (0)