diff --git a/.github/workflows/alert-open-prs.yml b/.github/workflows/alert-open-prs.yml index 10c79e43..03c182e2 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 17cad8e8..80752ae3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,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 @@ -43,7 +43,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 @@ -58,7 +58,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 @@ -77,7 +77,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 }} @@ -100,11 +100,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 @@ -125,15 +125,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 @@ -154,14 +154,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 @@ -182,14 +182,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 @@ -210,14 +210,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 fdfe9025..9d6b4a0b 100644 --- a/.github/workflows/force-release.yml +++ b/.github/workflows/force-release.yml @@ -34,7 +34,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 @@ -45,7 +45,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 @@ -59,15 +59,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 b8c432b6..0b8c5327 100644 --- a/.github/workflows/provider-upgrade.yml +++ b/.github/workflows/provider-upgrade.yml @@ -53,7 +53,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 9c808779..944822d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,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 @@ -51,7 +51,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 @@ -92,11 +92,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 @@ -119,7 +119,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: @@ -135,11 +135,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 @@ -166,7 +166,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: @@ -182,15 +182,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 @@ -221,7 +221,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: @@ -237,14 +237,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 @@ -270,7 +270,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: @@ -286,14 +286,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 @@ -318,7 +318,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: @@ -334,14 +334,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 @@ -386,7 +386,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 fc438223..b9e5ba4e 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 b46cd918..d8265734 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"