diff --git a/.github/workflows/alert-open-prs.yml b/.github/workflows/alert-open-prs.yml index 558e1f4b9c8..c64433af2f4 100644 --- a/.github/workflows/alert-open-prs.yml +++ b/.github/workflows/alert-open-prs.yml @@ -25,7 +25,7 @@ jobs: fi - name: Alert Slack on old PRs if: ${{ steps.old_prs.outputs.pr_links }} - uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 + uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 env: SLACK_WEBHOOK_URL: ${{ secrets.ALERT_PRS_SLACK_WEBHOOK_URL }} with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6074cf85b0a..67079b1dba8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Install dependencies @@ -46,7 +46,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "self_mutation_happened=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: .repo.patch path: .repo.patch @@ -61,7 +61,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: build-artifact path: dist @@ -83,7 +83,7 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Download patch - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: .repo.patch path: ${{ runner.temp }} @@ -109,11 +109,11 @@ jobs: permissions: {} if: "! needs.build.outputs.self_mutation_happened" steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -137,15 +137,15 @@ jobs: permissions: {} if: "! needs.build.outputs.self_mutation_happened" steps: - - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 + - uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -169,14 +169,14 @@ jobs: permissions: {} if: "! needs.build.outputs.self_mutation_happened" steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: 3.x - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -200,14 +200,14 @@ jobs: permissions: {} if: "! needs.build.outputs.self_mutation_happened" steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 + - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 with: dotnet-version: 3.x - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -231,14 +231,14 @@ jobs: permissions: {} if: "! needs.build.outputs.self_mutation_happened" steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 with: go-version: ^1.16.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist diff --git a/.github/workflows/force-release.yml b/.github/workflows/force-release.yml index 81ea788bb77..db61e6951c8 100644 --- a/.github/workflows/force-release.yml +++ b/.github/workflows/force-release.yml @@ -37,7 +37,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Install dependencies @@ -48,7 +48,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: build-artifact path: dist @@ -65,15 +65,15 @@ jobs: CI: "true" steps: - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 with: go-version: ^1.16.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist diff --git a/.github/workflows/provider-upgrade.yml b/.github/workflows/provider-upgrade.yml index af1f51f952c..ac9c4ee6303 100644 --- a/.github/workflows/provider-upgrade.yml +++ b/.github/workflows/provider-upgrade.yml @@ -56,7 +56,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: ${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 + uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 with: branch: auto/provider-upgrade commit-message: "${{ steps.release.outputs.type }}: upgrade provider from `${{ steps.current_version.outputs.value }}` to version `${{ steps.new_version.outputs.value }}`" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4d8dad2ed8..f8d654b864b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Install dependencies @@ -54,7 +54,7 @@ jobs: continue-on-error: true - name: Upload artifact if: ${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: build-artifact path: dist @@ -98,11 +98,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -125,7 +125,7 @@ jobs: run: echo "VERSION=$(cat dist/version.txt)" >> $GITHUB_OUTPUT - name: Create Issue if: ${{ failure() }} - uses: imjohnbo/issue-bot@6924a99d928dc228f407d34eb3d0149eda73f2a7 + uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -144,11 +144,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -175,7 +175,7 @@ jobs: run: echo "VERSION=$(cat dist/version.txt)" >> $GITHUB_OUTPUT - name: Create Issue if: ${{ failure() }} - uses: imjohnbo/issue-bot@6924a99d928dc228f407d34eb3d0149eda73f2a7 + uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -194,15 +194,15 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 + - uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -233,7 +233,7 @@ jobs: run: echo "VERSION=$(cat dist/version.txt)" >> $GITHUB_OUTPUT - name: Create Issue if: ${{ failure() }} - uses: imjohnbo/issue-bot@6924a99d928dc228f407d34eb3d0149eda73f2a7 + uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -252,14 +252,14 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 + - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c with: python-version: 3.x - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -285,7 +285,7 @@ jobs: run: echo "VERSION=$(cat dist/version.txt)" >> $GITHUB_OUTPUT - name: Create Issue if: ${{ failure() }} - uses: imjohnbo/issue-bot@6924a99d928dc228f407d34eb3d0149eda73f2a7 + uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -304,14 +304,14 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 + - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 with: dotnet-version: 3.x - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -336,7 +336,7 @@ jobs: run: echo "VERSION=$(cat dist/version.txt)" >> $GITHUB_OUTPUT - name: Create Issue if: ${{ failure() }} - uses: imjohnbo/issue-bot@6924a99d928dc228f407d34eb3d0149eda73f2a7 + uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -355,14 +355,14 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe + - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 with: go-version: ^1.16.0 - name: Download build artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: build-artifact path: dist @@ -407,7 +407,7 @@ jobs: run: echo "VERSION=$(cat dist/version.txt)" >> $GITHUB_OUTPUT - name: Create Issue if: ${{ failure() }} - uses: imjohnbo/issue-bot@6924a99d928dc228f407d34eb3d0149eda73f2a7 + uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index fc438223f2d..b9e5ba4e031 100644 --- a/.github/workflows/upgrade-main.yml +++ b/.github/workflows/upgrade-main.yml @@ -21,7 +21,7 @@ jobs: - name: Set git config safe.directory run: git config --global --add safe.directory $(pwd) - name: Setup Node.js - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 with: node-version: 18.12.0 - name: Install dependencies @@ -35,7 +35,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 with: name: .repo.patch path: .repo.patch @@ -55,7 +55,7 @@ jobs: - name: Set git config safe.directory run: git config --global --add safe.directory $(pwd) - name: Download patch - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a + uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 with: name: .repo.patch path: ${{ runner.temp }} @@ -67,7 +67,7 @@ jobs: git config user.email "github-team-tf-cdk@hashicorp.com" - name: Create Pull Request id: create-pr - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 + uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 with: token: ${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- diff --git a/yarn.lock b/yarn.lock index b46cd9184ec..d82657344bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -217,9 +217,9 @@ jsii-srcmak "0.1.1005" "@cdktf/provider-project@^0.5.0": - version "0.5.20" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.5.20.tgz#1dbce6dcdf1608160d0c551d69cbc7e36850d4f3" - integrity sha512-gOJVMbGs7fP6J8owVBMPnoNjmwjEKnjjn+sy5avqFgm08BLKam93M9vcE+I8zAvW8mtC0H6nxY4eFuItGnxBZQ== + version "0.5.22" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.5.22.tgz#0627e8ab153593eaf3f9bae7df8f7105f0d52110" + integrity sha512-igRmpefUu9kf8mOMy8FdN7YQQBv4mddyGKY3HhNts5ibdEc0hJpN3ILOUytcbiLduie98qH1vs+P9lkF+mlb0w== dependencies: change-case "^4.1.2" fs-extra "^10.1.0"