Uh oh!
There was an error while loading. Please reload this page.
Update docs on using concurrency to auto-cancel redundant jobs / runs - #11244
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
| {% raw %} | ||
| ```yaml | ||
| concurrency: | ||
| group: ${{github.workflow}}-${{ github.head_ref }} |
There was a problem hiding this comment.
Is github.workflow guaranteed to be unique in a repository with multiple workflows? I wasn't 100% sure from looking at the context docs.
Choghi
commented
Oct 18, 2021
Thanks |
ramyaparimi
commented
Oct 18, 2021
@mnquintana |
lee-dohm
commented
Oct 18, 2021
👋 Good to see you again @mnquintana. Thanks so much for the detailed and well-thought-out PR 🙇♂️ |
mnquintana
commented
Oct 18, 2021
Hey good to see you too @lee-dohm! Thanks so much for giving this a look 🙇🏽 |
Hmmm looks like the deploy is failing – not sure if that's something I did or if a maintainer just needs to re-run the workflow |
@mnquintana Thank you for the message!! Definitely nothing you did 💖 The staging build and deploy workflows are temporarily disabled 💛 |
A stale label has been added to this pull request because it has been open 7 days with no activity. To keep this PR open, add a comment or push a commit within 3 days. |
mnquintana
commented
Oct 27, 2021
Adding a comment to keep the stale bot at bay 👀 |
@ramyaparimi@lee-dohm 👋🏽 Just checking in – any updates on a review for this one? 🙇🏽 |
lee-dohm
commented
Nov 9, 2021
My apologies @mnquintana! Between Universe and my being on vacation last week, this fell behind. I'll get it in front of the right people and get back to you! |
martin389
commented
Nov 11, 2021
Thanks for this PR! I'm working on getting this reviewed now 👍 |
mnquintana
commented
Nov 22, 2021
@martin389 👋🏽 Just checking in – any updates on getting this PR reviewed? 🙇🏽 |
martin389
commented
Nov 22, 2021
Status update: I've found someone who can review this work, and its now in their queue 👍 |
mnquintana
commented
Dec 1, 2021
@martin389 👋🏽 Just checking in again - any chance of getting this PR reviewed this week? 🙇🏽 |
martin389
commented
Dec 2, 2021
Status update: Following up with reviewers 👀 |
martin389
commented
Dec 16, 2021
Unassigning myself so that the tech reviewer can take this. |
Happy New Year! Are there any plans to ever review this PR? 3 months for a content review seems a bit extreme. |
ramyaparimi
commented
Jan 13, 2022
@mnquintana You’re absolutely right. I apologize for how long this has taken, three months is completely out of line with our expectations for ourselves. We appreciate the patience and understanding you’ve shown thus far. I’m going to talk to the team and find out how we can get this resolved as soon as possible. |
skedwards88
left a comment
There was a problem hiding this comment.
This PR adds great examples! Thank you for taking the time to share your knowledge (and thank you for your patience waiting for a review). I made some suggestions that I will go ahead and incorporate, then I'll get this merged down for you.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Why:
Closes#11243
This PR updates the docs on using
concurrencyto cancel in-progress jobs / runs to provide examples that scope this behavior to a workflow. The new examples should make it possible for users to approximate the behavior other CI providers give you out of the box for auto-canceling redundant jobs / runs on a PR, without running into all the pitfalls I did that resulted in a long GitHub Support thread. 😅Reference
To reference the behavior other CI providers document:
What's being changed:
concurrencysectionCheck off the following:
Writer impact (This section is for GitHub staff members only):