From 13f3bdffe4b4701a49aa4aa55962446f24cac863 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 23 May 2024 09:48:52 -0400 Subject: [PATCH] Update single-commit.yml to branch main --- .github/workflows/single-commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/single-commit.yml b/.github/workflows/single-commit.yml index 495949901..f7992e2a6 100644 --- a/.github/workflows/single-commit.yml +++ b/.github/workflows/single-commit.yml @@ -9,10 +9,10 @@ jobs: uses: actions/checkout@v1 with: fetch-depth: 30 - - name: Checkout master - run: git fetch origin master + - name: Checkout main + run: git fetch origin main - name: create local master branch - run: git branch master origin/master + run: git branch main origin/main - name: Commit Count Check - run: test `git log --oneline --no-merges HEAD ^master | wc -l ` = 1 + run: test `git log --oneline --no-merges HEAD ^main | wc -l ` = 1 runs-on: ubuntu-latest