-
The action should not use the current main branch, but some other branch. I know that with additional steps, this should be possible. Maybe, this should be documented in the README.md. Maybe, it is as simple as - run: git checkout -b keep-alive |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
you may have branch protection enabled. It is not a common scenario though. You need to disable it https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule Since its not a common scenario we need not have to add it to the docs |
Beta Was this translation helpful? Give feedback.
-
I just want to keep the main branch clean. Independent of it being protected or not. OK, I want it to protect from commits resulting of dumb GitHub company decisions. |
Beta Was this translation helpful? Give feedback.
-
The following should work with a branch other than main. After creating branch
|
Beta Was this translation helpful? Give feedback.
-
Note that It stopped working for me as I did not have following content in the workflow:
A change near January 19 or January 20 seems to have led to that change. |
Beta Was this translation helpful? Give feedback.
The following should work with a branch other than main.
Although, I need to wait 50 days to see if the commit really works on the different branch.
After creating branch
keepalive
in the repo, I added the following lines at the end of myCompatHelper.yml
action: