From 03c651c4ada21442dc3604f18c8149f55d66e0f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 10:35:07 +0000 Subject: [PATCH] Update actions/checkout action to v4 --- .github/workflows/reuse-copr-build.yml | 4 ++-- .github/workflows/unit-tests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reuse-copr-build.yml b/.github/workflows/reuse-copr-build.yml index 33278743b..a935c7e37 100644 --- a/.github/workflows/reuse-copr-build.yml +++ b/.github/workflows/reuse-copr-build.yml @@ -49,7 +49,7 @@ jobs: # TODO: The correct way to checkout would be to use simmilar approach as in get_commit_by_timestamp function of # the github gluetool module (i.e. do not use HEAD but the last commit before comment). id: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: "refs/pull/${{ steps.pr_nr.outputs.pr_nr }}/head" @@ -121,7 +121,7 @@ jobs: - name: Checkout leapp-repository id: checkout_leapp_repository if: ${{ steps.leapp_repository_pr_regex_match.outputs.match != '' }} - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: "oamg/leapp-repository" ref: "refs/pull/${{ steps.leapp_repository_pr.outputs.leapp_repository_pr }}/head" diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 123a73e2b..e2376b714 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: '0' - name: Set master to origin/master