diff --git a/.github/workflows/single-commit.yml b/.github/workflows/single-commit.yml index 49594990..f7992e2a 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