Skip to content

Commit

Permalink
Set github action for checkout to the version
Browse files Browse the repository at this point in the history
It's better to use the version instead of the git hash so we avoid spamming upgrades.

Signed-off-by: 💻 Eher <[email protected]>
  • Loading branch information
EHER committed Sep 5, 2023
1 parent 9cb14cb commit b9585af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
COMMITS: ${{ github.event.pull_request.commits }}

- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
with:
fetch-depth: ${{ env.COMMIT_DEPTH }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
php-version: ${{ matrix.php-version }}
tools: composer

- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down

0 comments on commit b9585af

Please sign in to comment.