diff --git a/.github/workflows/reuse-copr-build.yml b/.github/workflows/reuse-copr-build.yml index 7ccd28217..fe787166c 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