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

Urgent: Causing conflict with workflows running simultaneously #81

Open
adi658 opened this issue Jul 14, 2023 · 2 comments
Open

Urgent: Causing conflict with workflows running simultaneously #81

adi658 opened this issue Jul 14, 2023 · 2 comments

Comments

@adi658
Copy link

adi658 commented Jul 14, 2023

hello @dmnemec ,

this works great when there is a single workflow going on
However, in my case there are 2 workflows running simulataneously and pushing different files to same repo
It fails saying there is another git operation going on and some of the work is not present locally - and asks me to do a pull before push.

how do I use this action in this case.

@jpg1985
Copy link

jpg1985 commented Jan 30, 2024

I got the same race condition

[remote rejected] HEAD -> master (cannot lock ref 'refs/heads/master': is at 08763f3c8cf9f13b1233333f694ba7b28 but expected ca5e90123123aaaaa277143d4)

@jpg1985
Copy link

jpg1985 commented Jan 30, 2024

@adi658 I have used a retry action as a workaround, specifically in my case, im using matrix strategy, its been
quite useful for my setting parallelism to 1

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

No branches or pull requests

2 participants