From 0eeb4da33d3853a4bd04c2838a3d7ef01a4f40b1 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 21 Jul 2022 12:19:23 -0500 Subject: [PATCH] chore(gh): Prepare for more branches to be added --- .github/settings.yml | 10 ++++++++++ .github/workflows/ci.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index f80da786c71..5115fae0344 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -108,3 +108,13 @@ branches: contexts: ["CI", "Lint Commits", "Spell Check with Typos"] enforce_admins: false restrictions: null + - name: v2-master + protection: + required_pull_request_reviews: null + required_conversation_resolution: true + required_status_checks: + # Required. Require branches to be up to date before merging. + strict: false + contexts: ["CI", "Lint Commits", "Spell Check with Typos"] + enforce_admins: false + restrictions: null diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e60a0468b2..97e46753708 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: pull_request: push: - branches: [master] + branches: ["*master"] schedule: - cron: '3 3 3 * *' permissions: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 2245e14d18d..164d8598172 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,7 +2,7 @@ name: pre-commit on: pull_request: push: - branches: [master] + branches: ["*master"] jobs: pre-commit: runs-on: ubuntu-latest