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

Automate branch fix using creation of new branch instead of force push or rebase or revert of merge #3

Open
Konard opened this issue Oct 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Konard
Copy link
Member

Konard commented Oct 10, 2023

First step is to create a script:

git checkout clientifrst
git log
git checkout 243604a355a09cbf91cbb96fe782d87270e712d1
git checkout -b client-first
git push -u origin client-first

git checkout client-first 
git merge main

Where clientifrst is the name of broken branch and client-first is the name of fixed branch.

Second step is to automate it as a GitHub App/Bot.

So it will be possible to do it without leaving the GitHub.

Example:

IMG_1538

Broken pull request: deep-foundation/deepcase#17
Repaired pull request: deep-foundation/deepcase#19

@Konard Konard added the enhancement New feature or request label Oct 10, 2023
@Konard Konard changed the title Automate branch fix using creation of new branch instead of force push or reverts of merges Automate branch fix using creation of new branch instead of force push or rebase or revert of merge Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant