From 31ee833f8907c0bb8c054e952c7846571873df12 Mon Sep 17 00:00:00 2001 From: Yusuke Kato Date: Fri, 8 Dec 2023 17:24:14 +0900 Subject: [PATCH] change login user and token for ghcr.io & small refactor (#2268) Signed-off-by: kpango --- .github/workflows/_docker-image-scan.yaml | 2 +- .github/workflows/_docker-image.yaml | 38 +++++++++---------- .github/workflows/build-binaries.yml | 4 +- .github/workflows/build-protobuf.yml | 4 +- .github/workflows/chatops-help.yml | 2 +- .github/workflows/chatops.yml | 8 ++-- .github/workflows/codeql-analysis.yml | 4 +- .github/workflows/coverage.yml | 4 +- .../detect-internal-config-changes.yml | 2 +- .github/workflows/dockers-image-scan.yml | 2 +- .github/workflows/e2e-chaos.yaml | 12 +++--- .github/workflows/e2e-code-bench-agent.yaml | 6 +-- .github/workflows/e2e-max-dim.yml | 6 +-- .github/workflows/e2e-profiling.yml | 4 +- .github/workflows/e2e.yml | 18 ++++----- .github/workflows/format.yml | 6 +-- .github/workflows/fossa.yml | 4 +- .github/workflows/helm-lint.yml | 8 ++-- .github/workflows/helm.yml | 8 ++-- .github/workflows/labeler.yml | 4 +- .github/workflows/reviewdog-hadolint.yml | 4 +- .github/workflows/reviewdog-k8s.yml | 8 ++-- .github/workflows/reviewdog-markdown.yml | 8 ++-- .github/workflows/reviewdog.yml | 4 +- .github/workflows/semver.yml | 4 +- .github/workflows/test-hack.yml | 4 +- .github/workflows/unit-test.yaml | 8 ++-- .github/workflows/update-protobuf.yaml | 2 +- ...update-pull-request-and-issue-template.yml | 4 +- 29 files changed, 94 insertions(+), 98 deletions(-) diff --git a/.github/workflows/_docker-image-scan.yaml b/.github/workflows/_docker-image-scan.yaml index d589c954d66..88ed20e6955 100644 --- a/.github/workflows/_docker-image-scan.yaml +++ b/.github/workflows/_docker-image-scan.yaml @@ -26,7 +26,7 @@ jobs: scan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/_docker-image.yaml b/.github/workflows/_docker-image.yaml index ee48dfabf61..8ad064989ba 100644 --- a/.github/workflows/_docker-image.yaml +++ b/.github/workflows/_docker-image.yaml @@ -26,18 +26,15 @@ on: description: "If it is specified, specified platforms will be used." required: false default: "" - concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref != 'refs/heads/main' && github.ref || github.sha }}-${{ github.event_name }}-${{ inputs.target }} cancel-in-progress: true - jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context - build: runs-on: ubuntu-latest if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false) || (github.event.pull_request.head.repo.fork == true && github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ci/approved')) || (github.event_name == 'push' && github.ref == 'refs/heads/main') || startsWith( github.ref, 'refs/tags/') }} @@ -50,39 +47,40 @@ jobs: else echo ref=${{ github.sha }} >> $GITHUB_OUTPUT fi - - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ steps.ref.outputs.ref }} - - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} - - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: - platforms: all - + image: tonistiigi/binfmt:master + platforms: linux/amd64,linux/arm64 - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: - buildkitd-flags: "--debug" - + version: latest + platforms: linux/amd64,linux/arm64 + driver-opts: | + image=moby/buildkit:master + network=host + buildkitd-flags: "--debug --oci-worker-gc=false" - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASS }} - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io + # username: ${{ github.actor }} + # password: ${{ secrets.GITHUB_TOKEN }} username: ${{ secrets.PACKAGE_USER }} password: ${{ secrets.PACKAGE_TOKEN }} - - name: Build and Publish id: build_and_publish uses: ./.github/actions/docker-build @@ -90,19 +88,17 @@ jobs: target: ${{ inputs.target }} platforms: ${{ inputs.platforms }} builder: ${{ steps.buildx.outputs.name }} - - name: Scan the Docker image if: startsWith( github.ref, 'refs/tags/') uses: ./.github/actions/scan-docker-image with: image_ref: "${{ steps.build_and_publish.outputs.IMAGE_NAME }}:${{ steps.build_and_publish.outputs.PRIMARY_TAG }}" - slack: runs-on: ubuntu-latest needs: [build] if: github.ref == 'refs/heads/main' || startsWith( github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/notify-slack with: author_name: ${{ inputs.target }} image build diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index a5d34d35317..3fdb8b8607a 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -23,7 +23,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context build-linux: @@ -31,7 +31,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 10 diff --git a/.github/workflows/build-protobuf.yml b/.github/workflows/build-protobuf.yml index 173d5414317..070398e3631 100644 --- a/.github/workflows/build-protobuf.yml +++ b/.github/workflows/build-protobuf.yml @@ -30,7 +30,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context build: @@ -38,7 +38,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/chatops-help.yml b/.github/workflows/chatops-help.yml index cdfd5eeee89..1f9c0b12415 100644 --- a/.github/workflows/chatops-help.yml +++ b/.github/workflows/chatops-help.yml @@ -22,7 +22,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context print: diff --git a/.github/workflows/chatops.yml b/.github/workflows/chatops.yml index 9e7b714ced9..586da58724f 100644 --- a/.github/workflows/chatops.yml +++ b/.github/workflows/chatops.yml @@ -22,7 +22,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context label: @@ -131,7 +131,7 @@ jobs: BRANCH: ${{ steps.check_comments_rebase.outputs.BRANCH_NAME }} USERNAME: ${{ steps.check_comments_rebase.outputs.COMMENTER_USERNAME }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: steps.check_comments_rebase.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: fetch-depth: 0 @@ -216,7 +216,7 @@ jobs: PR_AUTHOR: ${{ github.event.issue.user.login }} API_URL: ${{ github.event.issue.comments_url }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: fetch-depth: 0 @@ -340,7 +340,7 @@ jobs: USERNAME: ${{ steps.check_comments_format.outputs.COMMENTER_USERNAME }} API_URL: ${{ github.event.issue.comments_url }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: steps.check_comments_format.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true' with: fetch-depth: 0 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 611c3dc4182..743c70c7507 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context codeql-build: @@ -46,7 +46,7 @@ jobs: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 82b4a23913c..39a4f06261a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,7 +34,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context coverage: @@ -42,7 +42,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 10 diff --git a/.github/workflows/detect-internal-config-changes.yml b/.github/workflows/detect-internal-config-changes.yml index 08d46277c99..98c6d419a16 100644 --- a/.github/workflows/detect-internal-config-changes.yml +++ b/.github/workflows/detect-internal-config-changes.yml @@ -24,7 +24,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context warning: diff --git a/.github/workflows/dockers-image-scan.yml b/.github/workflows/dockers-image-scan.yml index 61481e9391e..20c5c01d8df 100644 --- a/.github/workflows/dockers-image-scan.yml +++ b/.github/workflows/dockers-image-scan.yml @@ -26,7 +26,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context agent-ngt: diff --git a/.github/workflows/e2e-chaos.yaml b/.github/workflows/e2e-chaos.yaml index 529f71f8b1b..83d2847522e 100644 --- a/.github/workflows/e2e-chaos.yaml +++ b/.github/workflows/e2e-chaos.yaml @@ -35,7 +35,7 @@ jobs: if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-chaos' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context agent-failure: @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -88,7 +88,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -132,7 +132,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -176,7 +176,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -223,7 +223,7 @@ jobs: - clusterwide-network-bandwidth - random-pod-failure steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/notify-slack with: diff --git a/.github/workflows/e2e-code-bench-agent.yaml b/.github/workflows/e2e-code-bench-agent.yaml index 0346050de3d..dcb39648766 100644 --- a/.github/workflows/e2e-code-bench-agent.yaml +++ b/.github/workflows/e2e-code-bench-agent.yaml @@ -50,7 +50,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context grpc-sequential: @@ -59,7 +59,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -90,7 +90,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/e2e-max-dim.yml b/.github/workflows/e2e-max-dim.yml index 8bf64338733..775dfe06bd9 100644 --- a/.github/workflows/e2e-max-dim.yml +++ b/.github/workflows/e2e-max-dim.yml @@ -30,7 +30,7 @@ jobs: if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-max-dim' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context e2e-max-dimension-insert: @@ -40,7 +40,7 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -116,7 +116,7 @@ jobs: runs-on: ubuntu-latest if: startsWith( github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/notify-slack with: diff --git a/.github/workflows/e2e-profiling.yml b/.github/workflows/e2e-profiling.yml index 60f37e53b86..7f4f9aa2893 100644 --- a/.github/workflows/e2e-profiling.yml +++ b/.github/workflows/e2e-profiling.yml @@ -33,7 +33,7 @@ jobs: if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-profiling' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context e2e-profiling: @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 302b2e819b0..a9d6ecbc748 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -32,7 +32,7 @@ jobs: if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-deploy' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context e2e-stream-crud: @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -84,7 +84,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -151,7 +151,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -202,7 +202,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -245,7 +245,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -284,7 +284,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -320,7 +320,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -369,7 +369,7 @@ jobs: - e2e-stream-crud-under-index-management-jobs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/notify-slack with: diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 620d1a31ead..03e88785503 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -24,7 +24,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context format: @@ -33,7 +33,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.DISPATCH_TOKEN }} @@ -98,7 +98,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.DISPATCH_TOKEN }} diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 0779bf22dfc..cdf820d6d15 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -27,7 +27,7 @@ jobs: if: github.ref == 'refs/heads/main' || github.event.action == 'labeled' && github.event.label.name == 'actions/fossa' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context fossa-scan: @@ -37,7 +37,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/helm-lint.yml b/.github/workflows/helm-lint.yml index 1972fbfff03..93ab05709e3 100644 --- a/.github/workflows/helm-lint.yml +++ b/.github/workflows/helm-lint.yml @@ -23,7 +23,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context lint-vald-chart: @@ -33,7 +33,7 @@ jobs: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - name: Check out code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: set git config run: | @@ -58,7 +58,7 @@ jobs: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - name: Check out code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: set git config run: | @@ -81,7 +81,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: set git config run: | diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index 90d37756d5e..b0bc6125c1b 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -26,7 +26,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context update-k8s-manifest: @@ -35,7 +35,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -99,7 +99,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.DISPATCH_TOKEN }} @@ -143,7 +143,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 3ecfa450b3e..b78af74878c 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -21,7 +21,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context triage: @@ -33,7 +33,7 @@ jobs: with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} fetch-depth: 0 diff --git a/.github/workflows/reviewdog-hadolint.yml b/.github/workflows/reviewdog-hadolint.yml index 933ab5bbdf9..2751ca16bd6 100644 --- a/.github/workflows/reviewdog-hadolint.yml +++ b/.github/workflows/reviewdog-hadolint.yml @@ -24,14 +24,14 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context hadolint: name: runner / hadolint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/reviewdog-k8s.yml b/.github/workflows/reviewdog-k8s.yml index 9bbd9f07e50..0a78c322960 100644 --- a/.github/workflows/reviewdog-k8s.yml +++ b/.github/workflows/reviewdog-k8s.yml @@ -25,7 +25,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context kubeval-conflint: @@ -34,7 +34,7 @@ jobs: container: image: mumoshu/conflint:latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -56,7 +56,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -77,7 +77,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/reviewdog-markdown.yml b/.github/workflows/reviewdog-markdown.yml index a3efe92e3cf..725e392fb96 100644 --- a/.github/workflows/reviewdog-markdown.yml +++ b/.github/workflows/reviewdog-markdown.yml @@ -25,14 +25,14 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context languagetool-apis-charts: name: runner / LanguageTool / apis & charts runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -53,7 +53,7 @@ jobs: name: runner / LanguageTool / Docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -74,7 +74,7 @@ jobs: name: runner / textlint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 26401af8c5a..4a3996487fd 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -24,7 +24,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context golangci-lint: @@ -33,7 +33,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml index cfac7c7b1a8..e5669f439fb 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -22,7 +22,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context semver-auto: name: Run semver-auto @@ -30,7 +30,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.DISPATCH_TOKEN }} diff --git a/.github/workflows/test-hack.yml b/.github/workflows/test-hack.yml index e1561b513ce..f6f759bd838 100644 --- a/.github/workflows/test-hack.yml +++ b/.github/workflows/test-hack.yml @@ -45,7 +45,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context test-hack: @@ -57,7 +57,7 @@ jobs: run: working-directory: ${{ env.GOPATH }}/${{ env.PROJECT_ROOT_DIR }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: ${{ env.PROJECT_ROOT_DIR }} diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 28ab8f4b293..820bf9720dd 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -38,7 +38,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context test-cmd: @@ -47,7 +47,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -67,7 +67,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | @@ -87,7 +87,7 @@ jobs: container: image: ghcr.io/vdaas/vald/vald-ci-container:nightly steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set Git config run: | diff --git a/.github/workflows/update-protobuf.yaml b/.github/workflows/update-protobuf.yaml index e6388b48ca6..0e3001748fc 100644 --- a/.github/workflows/update-protobuf.yaml +++ b/.github/workflows/update-protobuf.yaml @@ -27,7 +27,7 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context client-go: diff --git a/.github/workflows/update-pull-request-and-issue-template.yml b/.github/workflows/update-pull-request-and-issue-template.yml index 4df04e3ae6a..4c3939830ca 100644 --- a/.github/workflows/update-pull-request-and-issue-template.yml +++ b/.github/workflows/update-pull-request-and-issue-template.yml @@ -27,14 +27,14 @@ jobs: dump-contexts-to-log: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context update-pr-issue-template: name: Update PULL_REQUEST_TEMPLATE and ISSUE_TEMPLATE runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0