diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 635f3ba3b6d..f88e47c7eef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: pkg-version: ${{ steps.get-product-version.outputs.pkg-version }} shared-ldflags: ${{ steps.shared-ldflags.outputs.shared-ldflags }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: get product version id: get-product-version run: | @@ -52,7 +52,7 @@ jobs: filepath: ${{ steps.generate-metadata-file.outputs.filepath }} steps: - name: 'Checkout directory' - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Generate metadata file id: generate-metadata-file uses: hashicorp/actions-generate-metadata@v1 @@ -84,7 +84,7 @@ jobs: name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Setup go uses: actions/setup-go@v2 @@ -177,7 +177,7 @@ jobs: name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Setup go uses: actions/setup-go@v2 @@ -232,7 +232,7 @@ jobs: version: ${{needs.get-product-version.outputs.product-version}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 # Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix # This naming convention will be used ONLY for per-commit dev images @@ -266,7 +266,7 @@ jobs: version: ${{needs.get-product-version.outputs.product-version}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: hashicorp/actions-docker-build@v1 with: version: ${{env.version}} @@ -286,7 +286,7 @@ jobs: version: ${{needs.get-product-version.outputs.product-version}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 # Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix # This naming convention will be used ONLY for per-commit dev images @@ -323,7 +323,7 @@ jobs: name: Verify ${{ matrix.arch }} linux binary steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Download ${{ matrix.arch }} zip uses: actions/download-artifact@v3 @@ -353,7 +353,7 @@ jobs: name: Verify amd64 darwin binary steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Download amd64 darwin zip uses: actions/download-artifact@v3 @@ -380,7 +380,7 @@ jobs: name: Verify ${{ matrix.arch }} debian package steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Set package version run: | @@ -417,7 +417,7 @@ jobs: name: Verify ${{ matrix.arch }} rpm steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Set package version run: | diff --git a/.github/workflows/changelog-checker.yml b/.github/workflows/changelog-checker.yml index c4f467a3e0b..af5d44e47b4 100644 --- a/.github/workflows/changelog-checker.yml +++ b/.github/workflows/changelog-checker.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 # by default the checkout action doesn't checkout all branches diff --git a/.github/workflows/embedded-asset-checker.yml b/.github/workflows/embedded-asset-checker.yml index 8eb60d70d08..d3cbe88531f 100644 --- a/.github/workflows/embedded-asset-checker.yml +++ b/.github/workflows/embedded-asset-checker.yml @@ -17,7 +17,7 @@ jobs: if: "! ( contains(github.event.pull_request.labels.*.name, 'pr/update-ui-assets') || github.event.pull_request.user.login == 'hc-github-team-consul-core' )" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 # by default the checkout action doesn't checkout all branches diff --git a/.github/workflows/issue-comment-created.yml b/.github/workflows/issue-comment-created.yml index 47056a66bc2..42d10732113 100644 --- a/.github/workflows/issue-comment-created.yml +++ b/.github/workflows/issue-comment-created.yml @@ -8,7 +8,7 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: actions-ecosystem/action-remove-labels@v1 with: labels: | diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index ab7d793e794..855986dfde8 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - name: Trigger CircleCI Load Test Pipeline diff --git a/.github/workflows/nightly-test-1.11.x.yaml b/.github/workflows/nightly-test-1.11.x.yaml index cd913d4eca4..a76aa5451d3 100644 --- a/.github/workflows/nightly-test-1.11.x.yaml +++ b/.github/workflows/nightly-test-1.11.x.yaml @@ -13,7 +13,7 @@ jobs: frontend-test-workspace-node: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -45,7 +45,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 0 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -84,7 +84,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -117,7 +117,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -156,7 +156,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -187,7 +187,7 @@ jobs: runs-on: ubuntu-latest needs: [frontend-build-ent] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} diff --git a/.github/workflows/nightly-test-1.12.x.yaml b/.github/workflows/nightly-test-1.12.x.yaml index 906f2ba8fb3..3b67ae0f8b6 100644 --- a/.github/workflows/nightly-test-1.12.x.yaml +++ b/.github/workflows/nightly-test-1.12.x.yaml @@ -13,7 +13,7 @@ jobs: frontend-test-workspace-node: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -45,7 +45,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 0 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -84,7 +84,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -117,7 +117,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -156,7 +156,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -187,7 +187,7 @@ jobs: runs-on: ubuntu-latest needs: [frontend-build-ent] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} diff --git a/.github/workflows/nightly-test-1.13.x.yaml b/.github/workflows/nightly-test-1.13.x.yaml index 2df70ff6880..10336dcf97a 100644 --- a/.github/workflows/nightly-test-1.13.x.yaml +++ b/.github/workflows/nightly-test-1.13.x.yaml @@ -13,7 +13,7 @@ jobs: frontend-test-workspace-node: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -45,7 +45,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 0 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -84,7 +84,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -117,7 +117,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -156,7 +156,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -187,7 +187,7 @@ jobs: runs-on: ubuntu-latest needs: [frontend-build-ent] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} diff --git a/.github/workflows/nightly-test-main.yaml b/.github/workflows/nightly-test-main.yaml index e823bac7b56..d17130d3d33 100644 --- a/.github/workflows/nightly-test-main.yaml +++ b/.github/workflows/nightly-test-main.yaml @@ -13,7 +13,7 @@ jobs: frontend-test-workspace-node: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -45,7 +45,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 0 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -84,7 +84,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -117,7 +117,7 @@ jobs: JOBS: 2 CONSUL_NSPACES_ENABLED: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -156,7 +156,7 @@ jobs: EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} @@ -187,7 +187,7 @@ jobs: runs-on: ubuntu-latest needs: [frontend-build-ent] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ env.BRANCH }} diff --git a/.github/workflows/pr-metrics-test-checker.yml b/.github/workflows/pr-metrics-test-checker.yml index 7c42da595bd..1c19168af97 100644 --- a/.github/workflows/pr-metrics-test-checker.yml +++ b/.github/workflows/pr-metrics-test-checker.yml @@ -11,7 +11,7 @@ jobs: if: "! ( contains(github.event.pull_request.labels.*.name, 'pr/no-metrics-test') || github.event.pull_request.user.login == 'hc-github-team-consul-core' )" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 name: "checkout repo" with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/website-checker.yml b/.github/workflows/website-checker.yml index e5d628235dd..adbfd2c5101 100644 --- a/.github/workflows/website-checker.yml +++ b/.github/workflows/website-checker.yml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 # by default the checkout action doesn't checkout all branches