diff --git a/.github/workflows/on-push-to-main-branch.yml b/.github/workflows/on-push-to-main-branch.yml index 84fa9936..03feacf5 100644 --- a/.github/workflows/on-push-to-main-branch.yml +++ b/.github/workflows/on-push-to-main-branch.yml @@ -15,7 +15,7 @@ jobs: contents: read steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Dockerx diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 0e44c0c4..f8ecd4b3 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -17,7 +17,7 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get release version id: tag uses: divyansh-gupta/action-get-tag@727a6f0a561be04e09013531e73a3983a65e3479 diff --git a/.github/workflows/on-safe-to-test-label.yml b/.github/workflows/on-safe-to-test-label.yml index 03be888f..b5b7d58c 100644 --- a/.github/workflows/on-safe-to-test-label.yml +++ b/.github/workflows/on-safe-to-test-label.yml @@ -64,7 +64,7 @@ jobs: - name: Install Git run: sudo yum install git -y - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index a4b601ed..c1be7016 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ env.GH_PAGES_BRANCH }} - name: Push README to gh-pages branch @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.head_ref }}