Skip to content

Conversation

@bruvv
Copy link
Contributor

@bruvv bruvv commented Jul 26, 2025

How to enable this rule:

  1. Navigate to Settings → Branches.
  2. Under Branch protection rules, click Add rule.
  3. Choose the branch you want to protect (e.g., main).
  4. Enable Require status checks to pass before merging.
  5. Select “Build Check” in the list of required checks.
  6. Save the rule.

@3rob3
Copy link
Contributor

3rob3 commented Aug 1, 2025

I apparently missed this PR, sorry and thanks!

@3rob3 3rob3 merged commit 448aeae into immichFrame:main Aug 1, 2025
1 check passed
@3rob3
Copy link
Contributor

3rob3 commented Aug 1, 2025

for 3, main isn't an option. "Include default branch" maybe?
for 5, I don't see Build Checks as an option

@bruvv
Copy link
Contributor Author

bruvv commented Aug 2, 2025

No worries, here is a video for you to see on how to enable it :) https://calmcode.io/course/github-actions/prevent-merge

@3rob3
Copy link
Contributor

3rob3 commented Aug 6, 2025

Still no go. Build, build, or Build Checks does not show as an option.

@bruvv
Copy link
Contributor Author

bruvv commented Aug 7, 2025

perhaps this will help:
image

image image image image

@3rob3
Copy link
Contributor

3rob3 commented Aug 7, 2025

Yes, did that. As I mentioned build does not show up:
image

@bruvv
Copy link
Contributor Author

bruvv commented Aug 8, 2025

that is really weird i do not know sorry @3rob3 :(

@3rob3
Copy link
Contributor

3rob3 commented Aug 8, 2025

I got it. You have to run it manually once before it will show (which you must have on your branch). I added a workflow dispatch to the file, triggered it manually, then went back and added the ruleset successfully. Sorry for all the back and forth, and thanks again for your help!

@bruvv
Copy link
Contributor Author

bruvv commented Aug 9, 2025

aah shoot! did not know that. thanks for getting back :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants