Skip to content

Commit bfe5718

Browse files
committed
Don't run the release change preparation on subsequent code changes
1 parent ede07bf commit bfe5718

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release_prepare.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
OLD_VERSION=$(echo "$LATEST_RELEASE" | jq -r .tag)
4343
echo "old_version=$OLD_VERSION" >> $GITHUB_OUTPUT
4444
prepare-changes:
45+
# Only run this part once when the release branch is created
46+
if: github.event.created
4547
needs: fetch-versions
4648
runs-on: ubuntu-latest
4749
steps:

0 commit comments

Comments
 (0)