diff --git a/.github/workflows/commit_message_check.yml b/.github/workflows/commit_message_check.yml index 744f70f..c0a8227 100644 --- a/.github/workflows/commit_message_check.yml +++ b/.github/workflows/commit_message_check.yml @@ -12,8 +12,8 @@ jobs: with: fetch-depth: 0 - - name: test - run: git branch -v + - name: get main + run: git fetch origin main --depth 1 - name: check commit messages run: |