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

ci(.github/workflows): add concurrency #3044

Closed
wants to merge 1 commit into from

Conversation

sukvvon
Copy link
Contributor

@sukvvon sukvvon commented Mar 12, 2025

Summary

  • Add concurrency in action
    • The concurrency setting is needed to prevent duplicate runs when a PR is modified or commits are pushed multiple times, ensuring only the latest run is executed. Multiple executions can lead to resource wastage, and since only the latest state matters, canceling previous runs and keeping the latest one improves efficiency and reduces resource consumption.

Check List

  • pnpm run fix for formatting and linting code and docs

Copy link

vercel bot commented Mar 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2025 4:13am

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

pkg-pr-new bot commented Mar 12, 2025

Open in Stackblitzdemostarter

npm i https://pkg.pr.new/zustand@3044

commit: 0e65e5e

@dai-shi
Copy link
Member

dai-shi commented Mar 12, 2025

Thanks, but no thanks. I don't prefer cancelling.

@dai-shi dai-shi closed this Mar 12, 2025
@sukvvon sukvvon deleted the ci/action-add-concurrency branch March 12, 2025 14:51
@sukvvon
Copy link
Contributor Author

sukvvon commented Mar 12, 2025

@dai-shi I saw concurrency in docs.yml, do you want to remove it?

@dai-shi
Copy link
Member

dai-shi commented Mar 13, 2025

I already asked if it can be removed, but it seemed like it's required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants