Add eclipse-leshan-bot as bypass-actor when using github branch protection
I try to do a release. I guess I didn't do that since we use otterdog for the project.
Last release job I run failed with :
+ git push --set-upstream origin master
remote: error: GH013: Repository rule violations found for refs/heads/master.
remote: Review all repository rules at https://github.com/eclipse-leshan/leshan/rules?ref=refs%2Fheads%2Fmaster
remote:
remote: - Changes must be made through a pull request.
remote:
remote: - Required status check "eclipsefdn/eca" is expected.
remote:
To github.com:eclipse-leshan/leshan.git
! [remote rejected] master -> master (push declined due to repository rule violations)
error: failed to push some refs to 'github.com:eclipse-leshan/leshan.git'
See console log for more details.
I guess I need to add eclipse-leshan-bot as bypass-actor about branch protection in my jenkins job file, right ?
Some context :
The bot should be able to push this kind of commit
The commits : https://github.com/eclipse-leshan/leshan/commits/master/?author=eclipse-leshan-bot
The jenkins job : https://ci.eclipse.org/leshan/job/leshan-release/
The jenkins file : https://github.com/eclipse-leshan/leshan/blob/master/.jenkins/release.jenkins
Problem :
I tried to create that PR : https://github.com/eclipse-leshan/.eclipsefdn/pull/4
But I'm not allowed to push a user name directly.
But I don't know the Team, Role or App specific to that bot ?
I need to move forward on this to be able to do a release.