diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72c7f16ec..e97663c4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v5 with: fetch-depth: 0 - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5fc5d0ed..843708cb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: COMMIT_RANGE: ${{ github.event_name == 'pull_request' && format('{0}..{1}',github.event.pull_request.base.sha, github.event.pull_request.head.sha) || github.sha }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: path: src/github.com/goharbor/distribution fetch-depth: 50