From 8aa737ce21a101ac46e52f253e76ff271e2acfdf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:31:38 +0000 Subject: [PATCH] chore(deps): update actions/checkout action to v4 --- .github/workflows/auto-pr.yml | 2 +- .github/workflows/auto-release-when-pr-is-merged.yml | 4 ++-- .github/workflows/check-actions-name.yml | 2 +- .github/workflows/check-operator-sdk-release.yml | 2 +- .github/workflows/conditional-auto-approve.yml | 2 +- .github/workflows/create-pr-if-outdated.yml | 2 +- .github/workflows/create-pr-when-pr-is-merged.yml | 2 +- .github/workflows/default-commands.yml | 2 +- .github/workflows/docker-layer-cache.yml | 2 +- .github/workflows/envvar.yml | 6 +++--- .github/workflows/github-script.yml | 2 +- .github/workflows/k8s-ci.yml | 4 ++-- .github/workflows/matrix-from-previous-job-output-2.yml | 2 +- .github/workflows/pip-cache.yml | 2 +- .github/workflows/pip-no-cache.yml | 2 +- .github/workflows/poetry-cache.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- .github/workflows/prereleased.yml | 2 +- .github/workflows/python-semantic-release.yml | 2 +- .github/workflows/released.yml | 2 +- .github/workflows/update-pull-request-body.yml | 2 +- 21 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index 122485fd..f4e07d43 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Set env run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: token: ${{ secrets.REPO_GITHUB_TOKEN }} repository: nakamasato/k8s-deploy-test diff --git a/.github/workflows/auto-release-when-pr-is-merged.yml b/.github/workflows/auto-release-when-pr-is-merged.yml index 5982c449..5df46513 100644 --- a/.github/workflows/auto-release-when-pr-is-merged.yml +++ b/.github/workflows/auto-release-when-pr-is-merged.yml @@ -12,7 +12,7 @@ jobs: if: ${{ github.event.pull_request.merged == true && ! contains( github.event.pull_request.labels.*.name, 'release') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: prepare release tag @@ -57,7 +57,7 @@ jobs: env: PUBLISH_RELEASE_SCRIPT: ./.publish-release.sh steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: main diff --git a/.github/workflows/check-actions-name.yml b/.github/workflows/check-actions-name.yml index ce6e8144..9143942f 100644 --- a/.github/workflows/check-actions-name.yml +++ b/.github/workflows/check-actions-name.yml @@ -7,5 +7,5 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - run: for f in `ls .github/workflows/*yml`; do name=$(yq e '.name' $f); ls .github/workflows/${name}.yml; done diff --git a/.github/workflows/check-operator-sdk-release.yml b/.github/workflows/check-operator-sdk-release.yml index 4e357ee3..869a7ea3 100644 --- a/.github/workflows/check-operator-sdk-release.yml +++ b/.github/workflows/check-operator-sdk-release.yml @@ -13,7 +13,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: check env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/conditional-auto-approve.yml b/.github/workflows/conditional-auto-approve.yml index c95369a4..b4a45c04 100644 --- a/.github/workflows/conditional-auto-approve.yml +++ b/.github/workflows/conditional-auto-approve.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Check change and create comment id: check-change-and-create-comment diff --git a/.github/workflows/create-pr-if-outdated.yml b/.github/workflows/create-pr-if-outdated.yml index 4c287f43..f61d92ca 100644 --- a/.github/workflows/create-pr-if-outdated.yml +++ b/.github/workflows/create-pr-if-outdated.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: ${{ env.BASE_BRANCH_NAME }} diff --git a/.github/workflows/create-pr-when-pr-is-merged.yml b/.github/workflows/create-pr-when-pr-is-merged.yml index 801f8496..bb19ce00 100644 --- a/.github/workflows/create-pr-when-pr-is-merged.yml +++ b/.github/workflows/create-pr-when-pr-is-merged.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: ${{ env.BASE_BRANCH_NAME }} diff --git a/.github/workflows/default-commands.yml b/.github/workflows/default-commands.yml index 9de5d99a..853df65b 100644 --- a/.github/workflows/default-commands.yml +++ b/.github/workflows/default-commands.yml @@ -34,7 +34,7 @@ jobs: - name: bc run: printf "%.2f" $(echo "scale=2;3/2" | bc) - - uses: actions/checkout@v3 # to get the context + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 # to get the context # https://docs.github.com/en/actions/using-workflows/using-github-cli-in-workflows # https://cli.github.com/manual/gh_pr_comment diff --git a/.github/workflows/docker-layer-cache.yml b/.github/workflows/docker-layer-cache.yml index 28f6819a..8434e511 100644 --- a/.github/workflows/docker-layer-cache.yml +++ b/.github/workflows/docker-layer-cache.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: satackey/action-docker-layer-caching@v0.0.11 - name: build run: docker build -t test-image:latest . -f docker-layer-cache/Dockerfile diff --git a/.github/workflows/envvar.yml b/.github/workflows/envvar.yml index 6a721cbe..406478df 100644 --- a/.github/workflows/envvar.yml +++ b/.github/workflows/envvar.yml @@ -14,14 +14,14 @@ jobs: NAMESPACE: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Set env ${{ env.NAMESPACE }} id: first-job run: | echo "TEST=TEST_VALUE" >> $GITHUB_ENV echo "TEST=TEST_VALUE" >> "$GITHUB_OUTPUT" - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Get env run: | echo ${{ env.TEST }} @@ -30,7 +30,7 @@ jobs: second: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Get env run: | echo ${{ env.TEST }} diff --git a/.github/workflows/github-script.yml b/.github/workflows/github-script.yml index 84e91d55..18737b26 100644 --- a/.github/workflows/github-script.yml +++ b/.github/workflows/github-script.yml @@ -11,7 +11,7 @@ jobs: ENV_FOR_JOB: env for job runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/github-script@v6 env: PLAN: steps.plan.outcome diff --git a/.github/workflows/k8s-ci.yml b/.github/workflows/k8s-ci.yml index 72c5da84..91a907ec 100644 --- a/.github/workflows/k8s-ci.yml +++ b/.github/workflows/k8s-ci.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Log in to the Container registry uses: docker/login-action@v2 @@ -47,7 +47,7 @@ jobs: steps: - run: echo ${{ needs.build-and-push-image.outputs.tags }} - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Update manifest file env: YAML_PATH: k8s-ci/deployment.yaml diff --git a/.github/workflows/matrix-from-previous-job-output-2.yml b/.github/workflows/matrix-from-previous-job-output-2.yml index b8d57716..0e8db9da 100644 --- a/.github/workflows/matrix-from-previous-job-output-2.yml +++ b/.github/workflows/matrix-from-previous-job-output-2.yml @@ -10,7 +10,7 @@ jobs: CHANGED_ENVS: ${{ steps.matrix.outputs.CHANGED_ENVS }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. diff --git a/.github/workflows/pip-cache.yml b/.github/workflows/pip-cache.yml index 4e9bd3f3..9cc477d0 100644 --- a/.github/workflows/pip-cache.yml +++ b/.github/workflows/pip-cache.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Set up Python 3.8 uses: actions/setup-python@v4 diff --git a/.github/workflows/pip-no-cache.yml b/.github/workflows/pip-no-cache.yml index b576590f..e2a9c3fe 100644 --- a/.github/workflows/pip-no-cache.yml +++ b/.github/workflows/pip-no-cache.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Set up Python 3.8 uses: actions/setup-python@v4 diff --git a/.github/workflows/poetry-cache.yml b/.github/workflows/poetry-cache.yml index bd7362d7..46f730c7 100644 --- a/.github/workflows/poetry-cache.yml +++ b/.github/workflows/poetry-cache.yml @@ -20,7 +20,7 @@ jobs: python-version: 3.9 - name: Check-out repository - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Load cached Poetry installation id: cached-poetry diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9798072e..f048620c 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -6,7 +6,7 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: actions/setup-python@v4 with: python-version: 3.8 diff --git a/.github/workflows/prereleased.yml b/.github/workflows/prereleased.yml index 0fff52ac..8ab5ab72 100644 --- a/.github/workflows/prereleased.yml +++ b/.github/workflows/prereleased.yml @@ -9,7 +9,7 @@ jobs: if: github.event.release.target_commitish == 'main' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: deploy run: | echo "preleased" diff --git a/.github/workflows/python-semantic-release.yml b/.github/workflows/python-semantic-release.yml index 8872c7a0..bc35d9c9 100644 --- a/.github/workflows/python-semantic-release.yml +++ b/.github/workflows/python-semantic-release.yml @@ -14,7 +14,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 diff --git a/.github/workflows/released.yml b/.github/workflows/released.yml index dd8fbcb5..68fde17b 100644 --- a/.github/workflows/released.yml +++ b/.github/workflows/released.yml @@ -20,6 +20,6 @@ jobs: echo ${GITHUB_REF:10} | grep -cE '^v[0-9]+.[0-9]+.[0-9]+$' echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: create a file run: echo "$(date)" diff --git a/.github/workflows/update-pull-request-body.yml b/.github/workflows/update-pull-request-body.yml index 05bf72c1..bc935849 100644 --- a/.github/workflows/update-pull-request-body.yml +++ b/.github/workflows/update-pull-request-body.yml @@ -9,7 +9,7 @@ jobs: job: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: update pull request body uses: actions/github-script@v6 env: