Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
/ level-js Public archive

Only run 1 GitHub Actions workflow at a time#212

Merged
vweevers merged 1 commit intomasterfrom
limit-concurrency
Apr 20, 2021
Merged

Only run 1 GitHub Actions workflow at a time#212
vweevers merged 1 commit intomasterfrom
limit-concurrency

Conversation

@vweevers
Copy link
Copy Markdown
Member

Otherwise we'll hit Sauce Labs concurrency limits. Uses a beta feature that just came out today.

Ref Level/community#99

Otherwise we'll hit Sauce Labs concurrency limits. Uses a beta
feature that just came out today.

Ref Level/community#99
@vweevers vweevers added the maintenance General maintenance label Apr 19, 2021
@vweevers
Copy link
Copy Markdown
Member Author

Beautiful:

image

@@ -1,5 +1,6 @@
name: Test
on: push
concurrency: sauce-labs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

So this can be set to any string?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any previously pending job or workflow in the concurrency group will be canceled.

That's really useful!

Copy link
Copy Markdown
Member Author

@vweevers vweevers Apr 19, 2021

Choose a reason for hiding this comment

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

So this can be set to any string?

Yes, which means it can also use context variables. It's a nice design.

@vweevers vweevers merged commit e225383 into master Apr 20, 2021
@vweevers vweevers deleted the limit-concurrency branch April 20, 2021 07:11
@vweevers vweevers mentioned this pull request Apr 20, 2021
60 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

maintenance General maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants