Skip to content

Commit

Permalink
Merge pull request storybookjs#24480 from storybookjs/dont-cancel-man…
Browse files Browse the repository at this point in the history
…ual-run

Release tooling: Don't cancel non-patch preparation when triggered manually
  • Loading branch information
JReinhold authored Oct 15, 2023
2 parents d4fdd00 + 9c5cd7f commit 202d918
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prepare-non-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,14 @@ jobs:
run: git fetch --tags origin

- name: Check for unreleased changes
if: github.event_name != 'workflow_dispatch'
id: unreleased-changes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:unreleased-changes-exists

- name: Cancel when no release necessary
if: steps.unreleased-changes.outputs.has-changes-to-release == 'false'
if: steps.unreleased-changes.outputs.has-changes-to-release == 'false' && github.event_name != 'workflow_dispatch'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# From https://stackoverflow.com/a/75809743
Expand Down

0 comments on commit 202d918

Please sign in to comment.