You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the current implementation uses GitHub API to update the files instead of committing and pushing at local. Maybe this feature request requires a huge refactoring 🤔
Activity
ouuan commentedon May 3, 2020
I just found this action. However, it will be better to add all commits before pushing, instead of requiring the CI to support automatic cancellation.
ouuan commentedon Jun 9, 2021
It seems that the current implementation uses GitHub API to update the files instead of committing and pushing at local. Maybe this feature request requires a huge refactoring 🤔
gr2m commentedon Jun 9, 2021
It is possible to combine multiple file changes into one file.
Can you share an example where it happened? I'm not exactly sure what you mean with one-by-one?
ouuan commentedon Jun 9, 2021
cpeditor/cpeditor#864
gr2m commentedon Jun 9, 2021
I see, you mean you'd prefer to have a single commit that updates all files at once instead of having separate commits for all the file updates?
ouuan commentedon Jun 9, 2021
That's a possible solution. What I want is a single push, which triggers a single CI run. Either a single commit or multiple commits are OK.
Supposing it's done in the terminal, I want:
instead of:
gr2m commentedon Jun 9, 2021
We don't do
gitcommands, we use GItHub's APIs, and it doesn't permit to create multiple commits in a single request.For the time being, you can use the concurrent setting for your GitHub Action workflows:
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
You can set it that a workflow should only run once for the same pull request, and cancel a run if it was superseded by a new commit.
tenshiAMD commentedon Sep 25, 2022
@ouuan I think you can use CLI instead for you use case. Closing this for now.