Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/single-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 30
- name: Checkout develop
run: git fetch origin develop
- name: create local develop branch
run: git branch develop origin/develop
- name: Checkout base branch
run: git fetch origin ${{ github.base_ref }}
- name: Create local base branch
run: git branch base_branch origin/${{ github.base_ref }}
- name: Commit Count Check
run: test `git log --oneline --no-merges HEAD ^develop | wc -l ` = 1
run: test `git log --oneline --no-merges HEAD ^base_branch | wc -l ` = 1