-
Notifications
You must be signed in to change notification settings - Fork 1k
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
concurrency
with properties now causes "syntax error"
#1532
Comments
Confirmed on this end as well, workflows for Home Assistant are broken because of this. concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true ☝️ is marked as invalid YAML in the |
We are seeing this across all workflows with concurrency blocks like: concurrency:
group: ${{ github.event.inputs.identifier }}
cancel-in-progress: true |
It also appears to be breaking without any changes to the workflow file. https://github.com/Automattic/jetpack/actions/runs/1535959387/workflow with the last change on Oct 26th. |
+1 As of this morning, all my workflows are failing with a syntax error on the line defining the concurrency group value. |
+1 |
Yup, we started experiencing this problem at around 15:52 GMT (se the run here with the error). We narrowed it down to the issue to |
+1 we've got the same issue on all of our repositories and all syntax issues are pointing at the concurrency property. |
Our pipelines have all stopped as well. The Github Actions status at https://www.githubstatus.com/ is still showing "Normal" - is there any acknowledgement of this issue on Github's side? |
+1 same issue here when using "group" on concurrency |
Yes, can't / won't deploy without working jobs. Removing the But you know, don't want to do that. |
+1 same issue |
I have also posted an issue about this on the community page: https://github.uint.cloudmunity/t/breaking-change-to-concurrency-group-syntax/215604 A lot of folks appear to be affected by this. |
FTR, fails for https://github.com/quarkusio/quarkus as well:
|
Temporary workaround for actions/runner#1532 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Temporary workaround for actions/runner#1532 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Can confirm, getting the same error with this configuration: concurrency:
group: ${{ github.ref }}
cancel-in-progress: true |
We're experiencing this as well; our current workaround:
|
@amirtoole You are my hero. |
It seems that the original problem is no-longer happening. I reverted to my original .yaml file and it works now without complaining about a syntax error. |
Confirmed, reverting worked for us as well. Thanks for keeping us posted @ablakey 👍 |
I don't think I'm the biggest fan of the "silently fix the issue without acknowledging its existence" approach that GitHub seems to have taken here, but I suppose I'm glad that my workflow is working again. |
@mrparkers It's possible they resolved this issue without being aware of this ticket yet, but I agree with what you're saying. |
I'll leave this issue open to give the GitHub Actions team an opportunity to chime in on how it was resolved. It's possibly too soon to assume it was a stealth fix. |
@drdavella I'm pretty sure they are aware, as I've had escalated it with them. Lets await and see. |
My guess is they noticed by elevated numbers of builds failing and rolled back the change before the support message made it to them. |
seems to be working now |
People, do everyone a favor and instead of useless "+1" or "me too" or similar comments, hit the thumbs up button on the original post. Thank you. |
In a response from GitHub I was told engineers were on it before reports came in. Anyways, still this issue is open at this point. |
We believe that this has been resolved, so I'm closing this. Please let me know if you're still seeing problems here. |
@ethomson Could you elaborate on the incident a bit? Instead of just closing it...? |
This wasn't a runner bug, so I don't have complete details. We were making a change to the way |
hit this issue again and our workaround was to comment it out # concurrency:
# group: ${{ github.ref }}
# cancel-in-progress: true but @amirtoole's workaround is promising! |
By making a trivial change to an existing
test_build.yaml
, GitHub Actions complains about a syntax error in theconcurrency
property.concurrency
it works again.Note: This exact yaml file has been working for months. The only change I made was to rename a job.
Broken Example
Working Example
The text was updated successfully, but these errors were encountered: