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 c8fd318 commit a083ffbCopy full SHA for a083ffb
.github/workflows/component-release.yml
@@ -8,6 +8,7 @@ on:
8
9
jobs:
10
release:
11
+ if: github.event.pull_request.merged == true
12
runs-on: ubuntu-latest
13
14
steps:
@@ -70,7 +71,7 @@ jobs:
70
71
echo "Using version from PR description: $RELEASE_VERSION"
72
echo "RELEASE_VERSION=$RELEASE_VERSION"
73
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
- # # Check if tag already exists
74
+ # Check if tag already exists
75
if git rev-parse "refs/tags/$RELEASE_VERSION" >/dev/null 2>&1; then
76
echo "Tag $RELEASE_VERSION already exists. Skipping release."
77
exit 0
0 commit comments