diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e4ce7bc..4736b62 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -16,7 +16,7 @@ jobs: if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{github.event.pull_request.head.sha}} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e0f4bc4..daed0c1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will fail to push refs to dest repo diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2b9a72..5989202 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # See: https://goreleaser.com/ci/actions/