diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba4c4950c9..714dab01e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,14 +34,14 @@ jobs: echo "yarn=$(yarn cache dir)" >> $GITHUB_OUTPUT mkdir -p /usr/local/share/.cache/go echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-build restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} key: go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-build diff --git a/.github/workflows/cdktf-provider-docs-rollout.yml b/.github/workflows/cdktf-provider-docs-rollout.yml index dc9a645462..3105007a67 100644 --- a/.github/workflows/cdktf-provider-docs-rollout.yml +++ b/.github/workflows/cdktf-provider-docs-rollout.yml @@ -55,7 +55,7 @@ jobs: if: failure() steps: - name: Send failures to Slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: payload: | { diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 94cb791a9c..d06451ef4e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -18,9 +18,9 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 + uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0 - name: Cache Docker layers - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ hashFiles('/Dockerfile', '.terraform.versions.json') }} @@ -46,7 +46,7 @@ jobs: GIT_SHA=$(git rev-parse HEAD) echo "git-sha=$GIT_SHA" >> $GITHUB_OUTPUT - name: Build and push - uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0 + uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc # v6.11.0 with: pull: true push: true diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 179ba1237f..51947f604b 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -59,20 +59,20 @@ jobs: echo "terraform=/usr/local/share/.cache/terraform" >> $GITHUB_OUTPUT mkdir -p /usr/local/share/.cache/go echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-examples restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.terraform }} key: terraform-${{ runner.os }}-${{ matrix.terraform }}-examples restore-keys: | terraform-${{ runner.os }}-${{ matrix.terraform }} - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} key: go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-examples diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 54e1704f0c..b454c22a6d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -40,14 +40,14 @@ jobs: echo "yarn=$(yarn cache dir)" >> $GITHUB_OUTPUT mkdir -p /usr/local/share/.cache/go echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-integration restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} key: go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-integration @@ -68,13 +68,13 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} GOCACHE: ${{ steps.global-cache-dir-path.outputs.go }} - name: Upload dist - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 if: ${{ !inputs.skip_setup }} with: name: dist path: dist - name: Upload edge-provider bindings - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 if: ${{ !inputs.skip_setup }} with: name: edge-provider-bindings @@ -116,21 +116,21 @@ jobs: mkdir -p /usr/local/share/.cache/go echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT # only restore as an individual cache as per matrix explodes our cache usage - - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-integration restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.terraform }} # put matrix before integration to not restore caches from other sibling matrix jobs key: terraform-${{ runner.os }}-${{ matrix.terraform }}-matrix-integration-${{ matrix.target }} restore-keys: | terraform-${{ runner.os }}-${{ matrix.terraform }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} # put matrix before integration to not restore caches from other sibling matrix jobs @@ -188,21 +188,21 @@ jobs: mkdir -p /usr/local/share/.cache/go echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT # only restore as an individual cache as per matrix explodes our cache usage - - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-integration restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.terraform }} # put matrix before integration to not restore caches from other sibling matrix jobs key: terraform-${{ runner.os }}-${{ matrix.terraform }}-matrix-integration-${{ matrix.target }} restore-keys: | terraform-${{ runner.os }}-${{ matrix.terraform }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} # put matrix before integration to not restore caches from other sibling matrix jobs @@ -219,7 +219,7 @@ jobs: - name: Install pipenv run: pip install pipenv - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: 1.18.x cache: false # This is disabled because we don't have a go.sum file and setup-go expects it to use caching. Thus, caching is always broken anyways diff --git a/.github/workflows/provider-integration.yml b/.github/workflows/provider-integration.yml index bd2976c95e..e17d7850a9 100644 --- a/.github/workflows/provider-integration.yml +++ b/.github/workflows/provider-integration.yml @@ -45,14 +45,14 @@ jobs: echo "yarn=$(yarn cache dir)" >> $GITHUB_OUTPUT mkdir -p /usr/local/share/.cache/go echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-provider-integration restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} key: go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-provider-integration @@ -73,7 +73,7 @@ jobs: cd test && yarn - name: Upload dist if: ${{ !inputs.skip_setup }} - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 with: name: dist path: dist @@ -111,14 +111,14 @@ jobs: mkdir -p /usr/local/share/.cache/terraform echo "terraform=/usr/local/share/.cache/terraform" >> $GITHUB_OUTPUT # Only restoring yarn caches as the dependencies are not indiviual to each matrix job - - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-provider-integration restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.terraform }} # put matrix before provider-integration to not restore caches from other sibling matrix jobs @@ -156,7 +156,7 @@ jobs: - name: Install pipenv run: pip install pipenv - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: 1.16.x - name: Download dist @@ -172,14 +172,14 @@ jobs: mkdir -p /usr/local/share/.cache/terraform echo "terraform=/usr/local/share/.cache/terraform" >> $GITHUB_OUTPUT # Only restoring yarn caches to save available cache storage size - - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-provider-integration restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.terraform }} # put matrix before provider-integration to not restore caches from other sibling matrix jobs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da9d70725d..262df66778 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,12 +68,12 @@ jobs: env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }} - name: Upload artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 with: name: dist path: dist - name: Upload edge-provider bindings - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 if: ${{ !inputs.skip_setup }} with: name: edge-provider-bindings @@ -360,7 +360,7 @@ jobs: - unit_test steps: - name: Send failures to Slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: payload: | { diff --git a/.github/workflows/release_next.yml b/.github/workflows/release_next.yml index 35e4161857..0eabce50f1 100644 --- a/.github/workflows/release_next.yml +++ b/.github/workflows/release_next.yml @@ -74,12 +74,12 @@ jobs: env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }} - name: Upload artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 with: name: dist path: dist - name: Upload edge-provider bindings - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 if: ${{ !inputs.skip_setup }} with: name: edge-provider-bindings @@ -324,7 +324,7 @@ jobs: - unit_test steps: - name: Send failures to Slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: payload: | { diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 620173e13b..1c92070540 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -42,21 +42,21 @@ jobs: echo "go=/usr/local/share/.cache/go" >> $GITHUB_OUTPUT mkdir -p /usr/local/share/.cache/providerSchema echo "providerSchema=/usr/local/share/.cache/providerSchema" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.yarn }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-unit restore-keys: | yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}- yarn-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.go }} key: go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-unit restore-keys: | go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}- go-${{ runner.os }}- - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.providerSchema }} key: providerSchema-${{ runner.os }}-${{ inputs.terraform_version }}-unit-${{ inputs.package }} diff --git a/.github/workflows/yarn-upgrade.yml b/.github/workflows/yarn-upgrade.yml index 627497ff45..1aa9b843fc 100644 --- a/.github/workflows/yarn-upgrade.yml +++ b/.github/workflows/yarn-upgrade.yml @@ -28,7 +28,7 @@ jobs: - name: Get yarn cache directory path id: global-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.dir }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-upgrade @@ -63,7 +63,7 @@ jobs: git add . git diff --patch --staged > ./upgrade.patch - name: Upload Patch - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 with: name: upgrade.patch path: ./upgrade.patch @@ -88,7 +88,7 @@ jobs: run: rm -f ./upgrade.patch - name: Make Pull Request - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: # Git commit details branch: automation/yarn-upgrade @@ -152,7 +152,7 @@ jobs: - name: Get yarn cache directory path id: global-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.dir }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-upgrade @@ -185,7 +185,7 @@ jobs: git config --global user.name "team-tf-cdk" - name: Make Pull Request - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: # Git commit details branch: automation/yarn-upgrade-${{ matrix.pr.name }} @@ -218,7 +218,7 @@ jobs: - name: Get yarn cache directory path id: global-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.global-cache-dir-path.outputs.dir }} key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-upgrade @@ -249,7 +249,7 @@ jobs: git config --global user.name "team-tf-cdk" - name: Make Pull Request - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 with: # Git commit details branch: automation/yarn-upgrade-jsii