diff --git a/.github/workflows/knative-dependabot.yaml b/.github/workflows/knative-dependabot.yaml index bd68ba052f..dc592fe238 100644 --- a/.github/workflows/knative-dependabot.yaml +++ b/.github/workflows/knative-dependabot.yaml @@ -13,7 +13,7 @@ jobs: if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} path: ./src/github.com/${{ github.repository }} diff --git a/.github/workflows/knative-downstream.yaml b/.github/workflows/knative-downstream.yaml index fc952625c0..9d6c61d053 100644 --- a/.github/workflows/knative-downstream.yaml +++ b/.github/workflows/knative-downstream.yaml @@ -59,7 +59,7 @@ jobs: go install github.com/google/go-licenses@latest - name: Checkout upstream at ${{ github.base_ref }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 path: upstream @@ -80,7 +80,7 @@ jobs: git pull --no-rebase --no-commit upstream ${{ github.base_ref }} - name: Checkout downstream at ${{ github.base_ref }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.base_ref }} repository: ${{ matrix.repo }}