diff --git a/.github/scripts/performance-benchmarking/validate-commentor.sh b/.github/scripts/performance-benchmarking/validate-commentor.sh index f903277f02..2076293d35 100755 --- a/.github/scripts/performance-benchmarking/validate-commentor.sh +++ b/.github/scripts/performance-benchmarking/validate-commentor.sh @@ -7,10 +7,10 @@ if [[ $# -ne 1 ]]; then exit 1 fi -validcommentors="coffeegoddd andrew-wm-arthur bheni Hydrocharged reltuk tbantle22 timsehn VinaiRachakonda zachmu max-hoffman" +validcommentors="coffeegoddd andrew-wm-arthur bheni Hydrocharged reltuk tbantle22 timsehn zachmu max-hoffman" contains() { - [[ $1 =~ (^|[[:space:]])$2($|[[:space:]]) ]] && echo "::set-output name=valid::true" || exit 0 + [[ $1 =~ (^|[[:space:]])$2($|[[:space:]]) ]] && echo "valid=true" >> $GITHUB_OUTPUT || exit 0 } contains "$validcommentors" "$1" diff --git a/.github/workflows/README.md b/.github/workflows/README.md index c94cfd0dae..754250034d 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -19,7 +19,7 @@ Workflows prefixed with `cd-` are used for releasing Dolt. Some of these workflo ## Benchmarking Workflows -Benchmarking workflows are used as an interface for deploying benchmarking jobs to one of our Kubernetes Clusters. Workflows that deploy Kubernetes Jobs are prefixed with `k8s-` and can only be triggered with `repository_dispatch` events. Notice that benchmarking workflows, like `workflows/performance-benchmarks-email-report.yaml` for example, trigger these events using the `peter-evans/repository-dispatch@v1` Action. +Benchmarking workflows are used as an interface for deploying benchmarking jobs to one of our Kubernetes Clusters. Workflows that deploy Kubernetes Jobs are prefixed with `k8s-` and can only be triggered with `repository_dispatch` events. Notice that benchmarking workflows, like `workflows/performance-benchmarks-email-report.yaml` for example, trigger these events using the `peter-evans/repository-dispatch@v2.0.0` Action. These Kubernetes Jobs do not run on GitHub Actions Hosted Runners, so the workflow logs do not contain any information about the deployed Kubernetes Job or any errors it might have encountered. The workflow logs can only tell you if a Job was created successfully or not. To investigate an error or issue with a Job in our Kubernetes Cluster, see the debugging guide [here](https://github.com/dolthub/ld/blob/main/k8s/README.md#debug-performance-benchmarks-and-sql-correctness-jobs). diff --git a/.github/workflows/bump-dependency.yaml b/.github/workflows/bump-dependency.yaml index 8368711556..f0a741a9dc 100644 --- a/.github/workflows/bump-dependency.yaml +++ b/.github/workflows/bump-dependency.yaml @@ -18,7 +18,7 @@ jobs: run: | if [ "$REPO" == "go-mysql-server" ] then - echo "::set-output name=label::gms-bump" + echo "label=gms-bump" >> $GITHUB_OUTPUT else echo "$REPO is unsupported" exit 1 @@ -109,16 +109,16 @@ jobs: run: | if [ "${{ github.event.client_payload.assignee }}" == "zachmu" ] then - echo "::set-output name=reviewer::Hydrocharged" + echo "reviewer=Hydrocharged" >> $GITHUB_OUTPUT else - echo "::set-output name=reviewer::zachmu" + echo "reviewer=zachmu" >> $GITHUB_OUTPUT fi - name: Get short hash id: short-sha run: | commit=${{ github.event.client_payload.head_commit_sha }} short=${commit:0:8} - echo "::set-output name=short::$short" + echo "short=$short" >> $GITHUB_OUTPUT - name: Create and Push new branch run: | git config --global --add user.name "${{ github.event.client_payload.assignee }}" diff --git a/.github/workflows/cd-bump-homebrew.yaml b/.github/workflows/cd-bump-homebrew.yaml index 870a48fb8d..ee4f793cd5 100644 --- a/.github/workflows/cd-bump-homebrew.yaml +++ b/.github/workflows/cd-bump-homebrew.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Create Homebrew PR - uses: mislav/bump-homebrew-formula-action@v1 + uses: mislav/bump-homebrew-formula-action@v2.1 if: ${{ github.event_name == 'repository_dispatch' }} with: formula-name: dolt @@ -30,7 +30,7 @@ jobs: env: COMMITTER_TOKEN: ${{secrets.REPO_ACCESS_TOKEN}} - name: Create Homebrew PR - uses: mislav/bump-homebrew-formula-action@v1 + uses: mislav/bump-homebrew-formula-action@v2.1 if: ${{ github.event_name == 'workflow_dispatch' }} with: formula-name: dolt diff --git a/.github/workflows/cd-bump-winget.yaml b/.github/workflows/cd-bump-winget.yaml index 0b80c1cab7..184adac66b 100644 --- a/.github/workflows/cd-bump-winget.yaml +++ b/.github/workflows/cd-bump-winget.yaml @@ -28,7 +28,7 @@ jobs: version="${{ github.event.inputs.version }}" fi - echo "::set-output name=version::$version" + echo "version=$version" >> $GITHUB_OUTPUT winget-bump: needs: get-version diff --git a/.github/workflows/cd-create-release-notes.yaml b/.github/workflows/cd-create-release-notes.yaml index 339ad90d34..f98ce71a1a 100644 --- a/.github/workflows/cd-create-release-notes.yaml +++ b/.github/workflows/cd-create-release-notes.yaml @@ -19,11 +19,11 @@ jobs: if [ "$EVENT_NAME" == "workflow_dispatch" ] then release_id=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/dolthub/dolt/releases/tags/v${{ github.event.inputs.version }} | jq '.id') - echo "::set-output name=version::${{ github.event.inputs.version }}" - echo "::set-output name=release_id::$release_id" + echo "version=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT + echo "release_id=$release_id" >> $GITHUB_OUTPUT else - echo "::set-output name=version::${{ github.event.client_payload.version }}" - echo "::set-output name=release_id::${{ github.event.client_payload.release_id }}" + echo "version=${{ github.event.client_payload.version }}" >> $GITHUB_OUTPUT + echo "release_id=${{ github.event.client_payload.release_id }}" >> $GITHUB_OUTPUT fi env: EVENT_NAME: ${{ github.event_name }} diff --git a/.github/workflows/cd-release.yaml b/.github/workflows/cd-release.yaml index 1341eab1ad..fb9f01c82c 100644 --- a/.github/workflows/cd-release.yaml +++ b/.github/workflows/cd-release.yaml @@ -21,7 +21,7 @@ jobs: then version="${version:1}" fi - echo "::set-output name=version::$version" + echo "version=$version" >> $GITHUB_OUTPUT create-release: needs: format-version @@ -42,7 +42,7 @@ jobs: env: FILE: ${{ format('{0}/docker/Dockerfile', github.workspace) }} NEW_VERSION: ${{ needs.format-version.outputs.version }} - - uses: EndBug/add-and-commit@v7 + - uses: EndBug/add-and-commit@v9.1.1 with: message: ${{ format('[ga-bump-release] Update Dolt version to {0} and release v{0}', needs.format-version.outputs.version) }} add: ${{ format('[{0}/go/cmd/dolt/dolt.go, {0}/docker/Dockerfile]', github.workspace) }} @@ -51,7 +51,7 @@ jobs: id: build_binaries run: | latest=$(git rev-parse HEAD) - echo "::set-output name=commitish::$latest" + echo "commitish=$latest" >> $GITHUB_OUTPUT GO_BUILD_VERSION=1.19 go/utils/publishrelease/buildbinaries.sh - name: Create Release id: create_release @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Trigger Upload MSI - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: upload-msi @@ -142,7 +142,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Trigger Release Notes - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: release-notes @@ -153,7 +153,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Trigger Bump Homebrew - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: bump-homebrew @@ -164,7 +164,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Trigger Performance Benchmarks - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: release-dolt diff --git a/.github/workflows/ci-bats-unix.yaml b/.github/workflows/ci-bats-unix.yaml index 751ec6dce0..b67b9b3af8 100644 --- a/.github/workflows/ci-bats-unix.yaml +++ b/.github/workflows/ci-bats-unix.yaml @@ -40,7 +40,7 @@ jobs: fi - name: Configure AWS Credentials if: ${{ env.use_credentials == 'true' }} - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -108,7 +108,7 @@ jobs: cd parquet-mr/parquet-cli mvn clean install -DskipTests runtime_jar="$(pwd)"/target/parquet-cli-1.13.0-SNAPSHOT-runtime.jar - echo "::set-output name=runtime_jar::$runtime_jar" + echo "runtime_jar=$runtime_jar" >> $GITHUB_OUTPUT - name: Check expect run: expect -v - name: Test all Unix diff --git a/.github/workflows/ci-bats-windows.yaml b/.github/workflows/ci-bats-windows.yaml index fb1e999420..487371e1bd 100644 --- a/.github/workflows/ci-bats-windows.yaml +++ b/.github/workflows/ci-bats-windows.yaml @@ -32,7 +32,7 @@ jobs: IFS=$'\n' file_arr=($files) - echo "::set-output name=files::${file_arr[@]}" + echo "files=${file_arr[@]}" >> $GITHUB_OUTPUT IFS=$SAVEIFS working-directory: ./integration-tests/bats @@ -85,7 +85,7 @@ jobs: fi - name: Configure AWS Credentials if: ${{ env.use_credentials == 'true' }} - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -159,7 +159,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/ci-compatibility-tests.yaml b/.github/workflows/ci-compatibility-tests.yaml index 0e51078c89..0439107151 100644 --- a/.github/workflows/ci-compatibility-tests.yaml +++ b/.github/workflows/ci-compatibility-tests.yaml @@ -44,8 +44,8 @@ jobs: go build -mod=readonly -o ../.ci_bin/dolt ./cmd/dolt/. - name: Setup Dolt Config run: | - dolt config --global --add user.name 'Liquidata Actions' - dolt config --global --add user.email 'actions@liquidata.co' + dolt config --global --add user.name 'DoltHub Actions' + dolt config --global --add user.email 'actions@dolthub.com' - name: Test all run: ./runner.sh working-directory: ./integration-tests/compatibility diff --git a/.github/workflows/ci-format-repo.yaml b/.github/workflows/ci-format-repo.yaml index 2b79e4e217..4bfbb64e91 100644 --- a/.github/workflows/ci-format-repo.yaml +++ b/.github/workflows/ci-format-repo.yaml @@ -40,9 +40,9 @@ jobs: run: | changes=$(git status --porcelain) if [ ! -z "$changes" ]; then - echo "::set-output name=has-changes::true" + echo "has-changes=true" >> $GITHUB_OUTPUT fi - - uses: EndBug/add-and-commit@v7 + - uses: EndBug/add-and-commit@v9.1.1 if: ${{ steps.detect-changes.outputs.has-changes == 'true' }} with: message: "[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh" diff --git a/.github/workflows/email-report.yaml b/.github/workflows/email-report.yaml index d43b85d55e..e6898bd293 100644 --- a/.github/workflows/email-report.yaml +++ b/.github/workflows/email-report.yaml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -29,7 +29,7 @@ jobs: if [ ! -z "$RECIPIENT" ]; then addresses="[\"$RECIPIENT\"]" fi - echo "::set-output name=addresses::$addresses" + echo "addresses=$addresses" >> $GITHUB_OUTPUT env: RECIPIENT: ${{ github.event.client_payload.email_recipient }} TEAM: '["${{ secrets.PERF_REPORTS_EMAIL_ADDRESS }}"]' diff --git a/.github/workflows/import-benchmarks-pull-report.yaml b/.github/workflows/import-benchmarks-pull-report.yaml index 16f277b902..b43ab0e8b7 100644 --- a/.github/workflows/import-benchmarks-pull-report.yaml +++ b/.github/workflows/import-benchmarks-pull-report.yaml @@ -39,7 +39,7 @@ jobs: if: ${{ steps.check.outputs.triggered == 'true' }} id: set_benchmark run: | - echo "::set-output name=benchmark::true" + echo "benchmark=true" >> $GITHUB_OUTPUT performance: runs-on: ubuntu-22.04 @@ -47,7 +47,7 @@ jobs: if: ${{ needs.check-comments.outputs.benchmark == 'true' }} name: Trigger Benchmark Import K8s Workflow steps: - - uses: xt0rted/pull-request-comment-branch@v1 + - uses: dolthub/pull-request-comment-branch@v3 id: comment-branch with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -57,7 +57,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: core.setOutput("pull_number", JSON.stringify(context.issue.number)); - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: benchmark-import diff --git a/.github/workflows/k8s-benchmark-import.yaml b/.github/workflows/k8s-benchmark-import.yaml index cbe123e7cd..defd48b72f 100644 --- a/.github/workflows/k8s-benchmark-import.yaml +++ b/.github/workflows/k8s-benchmark-import.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - uses: azure/setup-kubectl@v2.0 + - uses: azure/setup-kubectl@v3.0 with: version: 'v1.23.6' - name: Install aws-iam-authenticator @@ -24,7 +24,7 @@ jobs: sudo cp ./aws-iam-authenticator /usr/local/bin/aws-iam-authenticator aws-iam-authenticator version - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/k8s-benchmark-latency.yaml b/.github/workflows/k8s-benchmark-latency.yaml index ed1da9792f..3b3ccdd38c 100644 --- a/.github/workflows/k8s-benchmark-latency.yaml +++ b/.github/workflows/k8s-benchmark-latency.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - uses: azure/setup-kubectl@v2.0 + - uses: azure/setup-kubectl@v3.0 with: version: 'v1.23.6' - name: Install aws-iam-authenticator @@ -24,7 +24,7 @@ jobs: sudo cp ./aws-iam-authenticator /usr/local/bin/aws-iam-authenticator aws-iam-authenticator version - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/k8s-fuzzer.yaml b/.github/workflows/k8s-fuzzer.yaml index d65ec0fa93..cd6e26cbd4 100644 --- a/.github/workflows/k8s-fuzzer.yaml +++ b/.github/workflows/k8s-fuzzer.yaml @@ -14,11 +14,11 @@ jobs: name: Run Fuzzer steps: - uses: actions/checkout@v3 - - uses: azure/setup-kubectl@v2.0 + - uses: azure/setup-kubectl@v3.0 with: version: 'v1.23.6' - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/k8s-sql-correctness.yaml b/.github/workflows/k8s-sql-correctness.yaml index 0a2f84b7bd..c8c9dd1c46 100644 --- a/.github/workflows/k8s-sql-correctness.yaml +++ b/.github/workflows/k8s-sql-correctness.yaml @@ -13,11 +13,11 @@ jobs: dolt_fmt: [ "__LD_1__", "__DOLT__" ] steps: - uses: actions/checkout@v3 - - uses: azure/setup-kubectl@v2.0 + - uses: azure/setup-kubectl@v3.0 with: version: 'v1.23.6' - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/nightly-performance-benchmarks-email-report.yaml b/.github/workflows/nightly-performance-benchmarks-email-report.yaml index 0cf3738a2e..7da2c0983b 100644 --- a/.github/workflows/nightly-performance-benchmarks-email-report.yaml +++ b/.github/workflows/nightly-performance-benchmarks-email-report.yaml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-22.04 name: Trigger Benchmark Latency, Benchmark Import, and SQL Correctness K8s Workflows steps: - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: benchmark-latency client-payload: '{"from_server": "mysql", "from_version": "8.0.28", "to_server": "dolt", "to_version": "${{ github.sha }}", "mode": "nightly", "actor": "${{ github.actor }}", "template_script": "./.github/scripts/performance-benchmarking/get-mysql-dolt-job-json.sh"}' - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: sql-correctness client-payload: '{"to_version": "${{ github.sha }}", "mode": "nightly", "actor": "${{ github.actor }}", "actor_email": "max@dolthub.com", "template_script": "./.github/scripts/sql-correctness/get-dolt-correctness-job-json.sh"}' - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: benchmark-import diff --git a/.github/workflows/performance-benchmarks-email-report.yaml b/.github/workflows/performance-benchmarks-email-report.yaml index b1baceb2c8..d4fdb73c92 100644 --- a/.github/workflows/performance-benchmarks-email-report.yaml +++ b/.github/workflows/performance-benchmarks-email-report.yaml @@ -26,9 +26,9 @@ jobs: - name: Set variables id: set-vars run: | - echo "::set-output name=version::$VERSION" - echo "::set-output name=actor::$ACTOR" - echo "::set-output name=actor_email::$ACTOR_EMAIL" + echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "actor=$ACTOR" >> $GITHUB_OUTPUT + echo "actor_email=$ACTOR_EMAIL" >> $GITHUB_OUTPUT env: VERSION: ${{ github.event.inputs.version || github.event.client_payload.version }} ACTOR: ${{ github.event.client_payload.actor || github.actor }} @@ -39,12 +39,12 @@ jobs: needs: set-version-actor name: Trigger Benchmark Latency and Benchmark Import K8s Workflows steps: - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: benchmark-latency client-payload: '{"from_server": "mysql", "from_version": "8.0.28", "to_server": "dolt", "to_version": "${{ needs.set-version-actor.outputs.version }}", "mode": "release", "actor": "${{ needs.set-version-actor.outputs.actor }}", "actor_email": "${{ needs.set-version-actor.outputs.actor_email }}", "template_script": "./.github/scripts/performance-benchmarking/get-mysql-dolt-job-json.sh"}' - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: benchmark-import diff --git a/.github/workflows/performance-benchmarks-pull-report.yaml b/.github/workflows/performance-benchmarks-pull-report.yaml index b101e40232..e3f3d7b9e5 100644 --- a/.github/workflows/performance-benchmarks-pull-report.yaml +++ b/.github/workflows/performance-benchmarks-pull-report.yaml @@ -39,7 +39,7 @@ jobs: if: ${{ steps.check.outputs.triggered == 'true' }} id: set_benchmark run: | - echo "::set-output name=benchmark::true" + echo "benchmark=true" >> $GITHUB_OUTPUT performance: runs-on: ubuntu-22.04 @@ -47,7 +47,7 @@ jobs: if: ${{ needs.check-comments.outputs.benchmark == 'true' }} name: Trigger Benchmark Latency K8s Workflow steps: - - uses: xt0rted/pull-request-comment-branch@v1 + - uses: dolthub/pull-request-comment-branch@v3 id: comment-branch with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -57,7 +57,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: core.setOutput("pull_number", JSON.stringify(context.issue.number)); - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: benchmark-latency diff --git a/.github/workflows/pull-report.yaml b/.github/workflows/pull-report.yaml index ee92701114..f3e60ded99 100644 --- a/.github/workflows/pull-report.yaml +++ b/.github/workflows/pull-report.yaml @@ -13,7 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/sql-correctness.yaml b/.github/workflows/sql-correctness.yaml index fc93b74847..044a12a284 100644 --- a/.github/workflows/sql-correctness.yaml +++ b/.github/workflows/sql-correctness.yaml @@ -25,8 +25,8 @@ jobs: - name: Set variables id: set-vars run: | - echo "::set-output name=version::$VERSION" - echo "::set-output name=actor::$ACTOR" + echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "actor=$ACTOR" >> $GITHUB_OUTPUT env: VERSION: ${{ github.event.inputs.version || github.event.client_payload.version }} ACTOR: ${{ github.event.client_payload.actor || github.actor }} @@ -36,7 +36,7 @@ jobs: needs: set-version-actor name: Trigger SQL Correctness K8s Workflow steps: - - uses: peter-evans/repository-dispatch@v1 + - uses: peter-evans/repository-dispatch@v2.0.0 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} event-type: sql-correctness