Get a job by making your GitHub profile look professional, you can customise it by taking my FREE video and text course www.eddiejaoude.io/course-github-profile-landing
I wonder why you don't set a status check in the "Require branches to be up to date before merging" setting?! The description says: "The setting will not take effect unless at least one status check is enabled (see below)."
Thanks for the video! At 3:06 when you metion about "Require status checks to pass before merging" how do you manage that check if you use jenkins for CI/CD instead of github actions ?
I wish GitHub would allow different merge strategies per branch. For example: Squash feature branches into develop; but environment branches get "regular" merges. Any guidance on how to accomplish that? Seems to me that option is either on/off for the whole repo and whatever method you did most recent is the button state at the next merge.
yes unfortunately this is at a repo level not a branch level. I think the maintainers just need to be aware. You could have a GitHub Action that added a relevant comment depending on the destination branch, this would remind the person merging
is it possible to enable branch protection rules at the organisation level in Github so that all repositories part of that organisation inherit these rules for the applied branches. Right now its really a hassle to enable those same set of rules on a per repo basis for same set of branches.
How can i allow my pipeline to tag the main if prs are required by the rule? Can i give it permission without creating a pull request? The rule in general is absolutely useful, but the github action is the only exception.
I don't understand fully what you speak about the branches option because I used it only once when I discover the basics on Git and it was in a basic level.
I will try to explain a bit more, git can have branches, but these branches can be protected on github so even if someone has permission to push to that branch, they need to follow more rules
Get a job by making your GitHub profile look professional, you can customise it by taking my FREE video and text course www.eddiejaoude.io/course-github-profile-landing
I wonder why you don't set a status check in the "Require branches to be up to date before merging" setting?! The description says: "The setting will not take effect unless at least one status check is enabled (see below)."
Thanks Eddie, this is a nice video (no surprise) 👍
Thank you Ahmad for the great feedback!
Thanks for the video! At 3:06 when you metion about "Require status checks to pass before merging" how do you manage that check if you use jenkins for CI/CD instead of github actions ?
thank you for watching! If your Jenkins shows up as a check, then this will be included in the "required status checks"
Awesome! Thank you for this. very helpful.
You're very welcome!
I wish GitHub would allow different merge strategies per branch. For example: Squash feature branches into develop; but environment branches get "regular" merges. Any guidance on how to accomplish that? Seems to me that option is either on/off for the whole repo and whatever method you did most recent is the button state at the next merge.
yes unfortunately this is at a repo level not a branch level. I think the maintainers just need to be aware. You could have a GitHub Action that added a relevant comment depending on the destination branch, this would remind the person merging
is it possible to enable branch protection rules at the organisation level in Github so that all repositories part of that organisation inherit these rules for the applied branches. Right now its really a hassle to enable those same set of rules on a per repo basis for same set of branches.
I am not aware this is possible yet, but I am sure in the future there might be a way to do it at the organisation level
Lets gooo!! great video Eddie!!
Thank you Sean!!
How can i allow my pipeline to tag the main if prs are required by the rule? Can i give it permission without creating a pull request? The rule in general is absolutely useful, but the github action is the only exception.
Thank You for the Information sir :)
Thank you for the great feedback Vinay!
Thank you.
You're welcome! thank you for the great feedback
Very Good, thanks.
Thank you for the great feedback!
Super weird... i just made a repo and i dont see a "Branches" option on the left hand side.
Oh strange, can you join us in the EddieHub Discord and you can share some links and screenshots
I don't understand fully what you speak about the branches option because I used it only once when I discover the basics on Git and it was in a basic level.
I will try to explain a bit more, git can have branches, but these branches can be protected on github so even if someone has permission to push to that branch, they need to follow more rules
@@eddiejaoude Okay
You look like that guy in Ex Machina
Lol yes 😂👍
how do i add username or mail id associated with github which triggers a mail asking for approval when someone pushed code into main branch
click on watch the repo and you will get all notifications
this feature is not free?
yes it is free
It is not free for private repositories.
@@mayankhb ouch!
6:13