From 9ca4470db6527c15c8360f7c3d9fb1cf40579773 Mon Sep 17 00:00:00 2001 From: Jason Raveling Date: Thu, 22 Jan 2026 11:58:27 -0600 Subject: [PATCH] ci(branch protection): add master --- .github/workflows/branch-protection-warning.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/branch-protection-warning.yml b/.github/workflows/branch-protection-warning.yml index 197f73b..96cff8b 100644 --- a/.github/workflows/branch-protection-warning.yml +++ b/.github/workflows/branch-protection-warning.yml @@ -2,10 +2,12 @@ name: "Check if merging to 'main' from 'release' branch" on: pull_request: - branches: [main] # The branch to protect. + branches: # These should be primary branch names. + - main + - master jobs: - restrict-to-merge-branch-main: + protect-primary-branch: runs-on: ubuntu-latest # To prevent a merge on failure, branch protection must be enabled in GitHub. If branch