Closed unknowIfGuestInDream closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the issue template!
Hey, @unknowIfGuestInDream this is not a bug but a configuration error. See this note 2
in README.md:
NOTES 2:
PULL_REQUEST
must be used withBRANCH
together, both should be provided with a valid branch name if you want to open a pull request. The GA will open a pull request from theBRANCH
(head branch) to thePULL_REQUEST
(base branch). LeavePULL_REQUEST
blank if you don't want to open a pull request.
You should switch your BRANCH
and PULL_REQUEST
, where BRANCH
is where push the file to(a unprotected branch) and it will then open a pull request from BRANCH
to PULL_REQUEST
(the protected branch).
I still failed to switch the value of BRANCH and PULL_REQUEST, the error is 404. Whether the branches of BRANCH and PULL_REQUEST must exist? If I only have the master branch, I can't submit pr to modify the changelog?
I still failed to switch the value of BRANCH and PULL_REQUEST, the error is 404. Whether the branches of BRANCH and PULL_REQUEST must exist? If I only have the master branch, I can't submit pr to modify the changelog?
You should provide me with the log so that I can debug it. It will create a new branch named BRANCH
for you to push the changelog file. The target branch PULL_REQUEST
must exist(in your case it is master). See #78 for its original design.
I see. This might be an issue relevant to how pygithub implement the fetch next page function(upstream change their check behavior). I have added a ad-hoc solution to master branch, I wonder that whether you can help me test if @master
fix your issue?
I'm happy to help you with testing and this solved my problem successfully. Thank you very much for your help
Thank you for your test. I will release a new version which includes this fix. See v1.2.3 if you would like to use a fixed release rather than master branch.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.
Describe the bug
Because of branch protection, I want to modify CHANGELOG.md file by creating pr. But after I set the PULL_REQUEST and BRANCH properties it didn't create successfully.
To Reproduce
Steps to reproduce the behavior:
this is my config.
Expected behavior
successfully created pr
Screenshots
If applicable, add If applicable, add screenshots to help explain your problem.screenshots to help explain your problem.
Environment
Additional context