Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI workflows to cancel based on built-in concurrency setting #7279

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

brophdawg11
Copy link
Contributor

Switch to built-in CI job cancellation as recommended in https://github.com/styfle/cancel-workflow-action

@changeset-bot
Copy link

changeset-bot bot commented Aug 28, 2023

⚠️ No Changeset found

Latest commit: 048db8d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -24,9 +24,6 @@ jobs:
published_packages: ${{ steps.changesets.outputs.publishedPackages }}
published: ${{ steps.changesets.outputs.published }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0

Copy link
Contributor Author

@brophdawg11 brophdawg11 Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't add concurrency to the release workflow since we probably want any started release to finish? For example if we start a pre.0 release and then quickly fix a bug and kick off a pre.1 - we would want them both to complete and publish to npm instead of leaving a gap in the prereleases?

@brophdawg11 brophdawg11 added the github_actions Pull requests that update GitHub Actions code label Aug 29, 2023
@brophdawg11 brophdawg11 merged commit 00d1f39 into dev Aug 30, 2023
5 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/ci-cancellation branch August 30, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants