Skip to content

Commit

Permalink
chore: skip prerelease versioning step if head commit contains versio…
Browse files Browse the repository at this point in the history
…n packages (#11703)
  • Loading branch information
alessbell authored Mar 19, 2024
1 parent 835d5f3 commit 591c2b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
run: npx changeset pre enter alpha

- name: Create prerelease PR
if: steps.check_files.outputs.files_exists == 'true'
# If .changeset/pre.json exists and we are not currently cutting a
# release after merging a Version Packages PR
if: steps.check_files.outputs.files_exists == 'true' && !startsWith(github.event.head_commit.message, 'Version Packages')
uses: changesets/action@v1
with:
version: npm run changeset-version
Expand Down

0 comments on commit 591c2b6

Please sign in to comment.