diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-03-07 12:16:50 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-03-07 12:46:42 -0500 |
| commit | 0ae0029c2f4d82af937e9632cd5bf13e81e91f98 (patch) | |
| tree | d8b73e0c4c38c41e29ea2d15d2968be169ad83fa /.github | |
| parent | b33c31d992591bc8e8d20ac156809e4ae5b45375 (diff) | |
Optimized check_commit_messages GitHub action.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check_commit_messages.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/check_commit_messages.yml b/.github/workflows/check_commit_messages.yml index 590cc58de3..0f38e7baa8 100644 --- a/.github/workflows/check_commit_messages.yml +++ b/.github/workflows/check_commit_messages.yml @@ -43,8 +43,8 @@ jobs: - name: Fetch relevant branches run: | - git fetch origin $BASE:base - git fetch origin pull/${{ github.event.pull_request.number }}/head:pr + git fetch origin $BASE:base --depth=1 + git fetch origin pull/${{ github.event.pull_request.number }}/head:pr --depth=1 - name: Check commit messages prefix env: @@ -79,8 +79,8 @@ jobs: - name: Fetch relevant branches run: | - git fetch origin $BASE:base - git fetch origin pull/${{ github.event.pull_request.number }}/head:pr + git fetch origin $BASE:base --depth=1 + git fetch origin pull/${{ github.event.pull_request.number }}/head:pr --depth=1 - name: Check commit messages suffix run: | |
