From b9585af24f8f0b00c366373f72d6ff8ba4a12637 Mon Sep 17 00:00:00 2001 From: Eher Date: Tue, 5 Sep 2023 23:13:40 +0200 Subject: [PATCH] Set github action for checkout to the version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's better to use the version instead of the git hash so we avoid spamming upgrades. Signed-off-by: 💻 Eher --- .github/workflows/check-whitespace.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-whitespace.yml b/.github/workflows/check-whitespace.yml index 8c27056..d7050b1 100644 --- a/.github/workflows/check-whitespace.yml +++ b/.github/workflows/check-whitespace.yml @@ -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 }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc6fc18..e168c42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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