Skip to content

Commit abd73f9

Browse files
authored
Don't run workflow for release candidates (#3796)
Signed-off-by: jamshale <jamiehalebc@gmail.com>
1 parent e23d042 commit abd73f9

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, '0.12.')
16+
# This job will recreate the LTS release if the tag starts with '0.12.' and is not a release candidate (rc)
17+
if: startsWith(github.event.release.tag_name, '0.12.') && !contains(github.event.release.tag_name, 'rc')
1718
name: Recreate LTS Release
1819
runs-on: ubuntu-latest
1920
outputs:

0 commit comments

Comments
 (0)