Skip to content

Commit a083ffb

Browse files
authored
Update component-release.yml
1 parent c8fd318 commit a083ffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/component-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
release:
11+
if: github.event.pull_request.merged == true
1112
runs-on: ubuntu-latest
1213

1314
steps:
@@ -70,7 +71,7 @@ jobs:
7071
echo "Using version from PR description: $RELEASE_VERSION"
7172
echo "RELEASE_VERSION=$RELEASE_VERSION"
7273
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
73-
# # Check if tag already exists
74+
# Check if tag already exists
7475
if git rev-parse "refs/tags/$RELEASE_VERSION" >/dev/null 2>&1; then
7576
echo "Tag $RELEASE_VERSION already exists. Skipping release."
7677
exit 0

0 commit comments

Comments
 (0)