Skip to content

Commit

Permalink
Update single-commit.yml to branch main
Browse files Browse the repository at this point in the history
  • Loading branch information
chris1984 committed May 23, 2024
1 parent 92f8fa9 commit 843dd12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/single-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 843dd12

Please sign in to comment.