From ebc9f9933746acb89746e8f54409cbe663ab6c91 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Mon, 25 Jan 2021 17:07:49 -0700 Subject: [PATCH] chore: rename to main --- .github/workflows/validate.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5e67b91..252a84d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -3,7 +3,7 @@ on: push: branches: - '+([0-9])?(.{+([0-9]),x}).x' - - 'master' + - 'main' - 'next' - 'next-major' - 'beta' @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.repository == 'kentcdodds/match-sorter' && - contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha', + contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) && github.event_name == 'push' }} steps: - name: 🛑 Cancel Previous Runs @@ -83,7 +83,7 @@ jobs: branches: | [ '+([0-9])?(.{+([0-9]),x}).x', - 'master', + 'main', 'next', 'next-major', {name: 'beta', prerelease: true},