From 53b9e23b755aa2eb4fc940001ea42881a4dd5240 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Tue, 7 Jan 2025 11:30:18 +0100 Subject: [PATCH] chore(deps): update pinned versions of GitHub Actions (#467) --- .github/workflows/auto-approve.yml | 2 +- .github/workflows/automerge.yml | 2 +- .github/workflows/build.yml | 14 +- .github/workflows/release.yml | 12 +- .github/workflows/upgrade-main.yml | 10 +- .github/workflows/upgrade-node.yml | 6 +- .projenrc.ts | 8 +- src/index.ts | 18 +- test/__snapshots__/index.test.ts.snap | 528 +++++++++++++------------- 9 files changed, 300 insertions(+), 300 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 4fd6e6ff..cc0729f4 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -19,7 +19,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 71302662..40f672f3 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -19,7 +19,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Turn on automerge for this PR by a trusted user or bot if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' env: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 096c4dfd..77719aad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,12 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -39,7 +39,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -54,7 +54,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -67,7 +67,7 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: token: ${{ secrets.PROJEN_GITHUB_TOKEN }} ref: ${{ github.event.pull_request.head.ref }} @@ -97,7 +97,7 @@ jobs: contents: read if: ${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -109,7 +109,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2845c85..aea1eebe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 - name: Set git identity @@ -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@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -58,7 +58,7 @@ jobs: continue-on-error: true - name: Upload artifact if: ${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -73,7 +73,7 @@ jobs: contents: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -98,7 +98,7 @@ jobs: contents: read if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -110,7 +110,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index ba3c1339..555a0987 100644 --- a/.github/workflows/upgrade-main.yml +++ b/.github/workflows/upgrade-main.yml @@ -15,11 +15,11 @@ jobs: patch_created: ${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -34,7 +34,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -48,7 +48,7 @@ jobs: if: ${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Download patch @@ -64,7 +64,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@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: token: ${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- diff --git a/.github/workflows/upgrade-node.yml b/.github/workflows/upgrade-node.yml index f334b8c4..6d421ce1 100644 --- a/.github/workflows/upgrade-node.yml +++ b/.github/workflows/upgrade-node.yml @@ -17,9 +17,9 @@ jobs: CI: "false" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install @@ -54,7 +54,7 @@ jobs: echo "short=$NEW_NODEJS_VERSION_SHORT" >> $GITHUB_OUTPUT - name: Create Pull Request if: env.CURRENT_NODEJS_VERSION_SHORT < env.NEW_NODEJS_VERSION_SHORT - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: commit-message: "chore!: increase minimum supported Node.js version to ${{ steps.latest_version.outputs.short }}" branch: auto/upgrade-node-${{ steps.latest_version.outputs.short }} diff --git a/.projenrc.ts b/.projenrc.ts index bb512481..722ff29f 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -16,17 +16,17 @@ import { generateRandomCron, Schedule } from "./src/util/random-cron"; // If you want to update actions versions for the individual prebuilt providers, // you will need to update the map in src/index.ts const githubActionPinnedVersions = { - "actions/checkout": "692973e3d937129bcbf40652eb9f2f61becf3332", // v4.1.7 + "actions/checkout": "11bd71901bbe5b1630ceea73d27597364c9af683", // v4.2.2 "actions/download-artifact": "fa0a91b85d4f404e444e00e005971372dc801d16", // v4.1.8 "actions/github-script": "60a0d83039c74a4aee543508d2ffcb1c3799cdea", // v7.0.1 - "actions/setup-node": "1e60f620b9541d16bece96c5465dc8ee9832be0b", // v4.0.3 + "actions/setup-node": "39370e3970a6d050c480ffad4ff0ed4d3fdee5af", // v4.1.0 "actions/stale": "28ca1036281a5e5922ead5184a1bbf96e5fc984e", // v9.0.0 - "actions/upload-artifact": "89ef406dd8d7e03cfd12d9e0a4a378f454709029", // v4.3.5 + "actions/upload-artifact": "6f51ac03b9356f520e9adb1b1b7802705f340c2b", // v4.5.0 "amannn/action-semantic-pull-request": "0723387faaf9b38adef4775cd42cfd5155ed6017", // v5.5.3 "dessant/lock-threads": "1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771", // v5.0.1 "hashicorp/setup-copywrite": "32638da2d4e81d56a0764aa1547882fc4d209636", // v1.1.3 - "peter-evans/create-pull-request": "c5a7806660adbe173f04e3e038b0ccdcd758773c", // v6.1.0 + "peter-evans/create-pull-request": "67ccf781d68cd99b580ae25a5c18a1cc84ffff1f", // v7.0.6 }; const project = new cdk.JsiiProject({ diff --git a/src/index.ts b/src/index.ts index f0f4b081..b23831d6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -81,24 +81,24 @@ const getMavenName = (providerName: string): string => { }; const githubActionPinnedVersions = { - "actions/checkout": "692973e3d937129bcbf40652eb9f2f61becf3332", // v4.1.7 + "actions/checkout": "11bd71901bbe5b1630ceea73d27597364c9af683", // v4.2.2 "actions/download-artifact": "fa0a91b85d4f404e444e00e005971372dc801d16", // v4.1.8 "actions/github-script": "60a0d83039c74a4aee543508d2ffcb1c3799cdea", // v7.0.1 - "actions/setup-dotnet": "6bd8b7f7774af54e05809fcc5431931b3eb1ddee", // v4.0.1 - "actions/setup-go": "0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32", // v5.0.2 - "actions/setup-java": "99b8673ff64fbf99d8d325f52d9a5bdedb8483e9", // v4.2.1 - "actions/setup-node": "1e60f620b9541d16bece96c5465dc8ee9832be0b", // v4.0.3 - "actions/setup-python": "39cd14951b08e74b54015e9e001cdefcf80e669f", // v5.1.1 + "actions/setup-dotnet": "87b7050bc53ea08284295505d98d2aa94301e852", // v4.2.0 + "actions/setup-go": "3041bf56c941b39c61721a86cd11f3bb1338122a", // v5.2.0 + "actions/setup-java": "7a6d8a8234af8eb26422e24e3006232cccaa061b", // v4.6.0 + "actions/setup-node": "39370e3970a6d050c480ffad4ff0ed4d3fdee5af", // v4.1.0 + "actions/setup-python": "0b93645e9fea7318ecaed2b359559ac225c90a2b", // v5.3.0 "actions/stale": "28ca1036281a5e5922ead5184a1bbf96e5fc984e", // v9.0.0 - "actions/upload-artifact": "89ef406dd8d7e03cfd12d9e0a4a378f454709029", // v4.3.5 + "actions/upload-artifact": "6f51ac03b9356f520e9adb1b1b7802705f340c2b", // v4.5.0 "amannn/action-semantic-pull-request": "0723387faaf9b38adef4775cd42cfd5155ed6017", // v5.5.3 "dessant/lock-threads": "1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771", // v5.0.1 "hashicorp/setup-copywrite": "32638da2d4e81d56a0764aa1547882fc4d209636", // v1.1.3 "hashicorp/setup-terraform": "b9cd54a3c349d3f38e8881555d616ced269862dd", // v3.1.2 "imjohnbo/issue-bot": "572eed14422c4d6ca37e870f97e7da209422f5bd", // v3.4.4 - "peter-evans/create-pull-request": "c5a7806660adbe173f04e3e038b0ccdcd758773c", // v6.1.0 - "slackapi/slack-github-action": "70cd7be8e40a46e8b0eced40b0de447bdb42f68e", // v1.26.0 + "peter-evans/create-pull-request": "67ccf781d68cd99b580ae25a5c18a1cc84ffff1f", // v7.0.6 + "slackapi/slack-github-action": "37ebaef184d7626c5f204ab8d3baff4262dd30f0", // v1.27.0 }; export class CdktfProviderProject extends cdk.JsiiProject { diff --git a/test/__snapshots__/index.test.ts.snap b/test/__snapshots__/index.test.ts.snap index 625985ab..ac76551c 100644 --- a/test/__snapshots__/index.test.ts.snap +++ b/test/__snapshots__/index.test.ts.snap @@ -88,7 +88,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -119,7 +119,7 @@ jobs: if: github.event.issue.user.login != 'team-tf-cdk' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.issue.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -145,7 +145,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && github.actor != 'dependabot[bot]' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -176,7 +176,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Turn on automerge for this PR by a trusted user or bot if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' env: @@ -200,7 +200,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -225,7 +225,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -240,7 +240,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -253,7 +253,7 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -283,7 +283,7 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -295,7 +295,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -317,11 +317,11 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -333,7 +333,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -355,10 +355,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -370,7 +370,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -392,10 +392,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -407,7 +407,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -429,10 +429,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -444,7 +444,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -533,7 +533,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 - name: Set git config safe.directory @@ -564,7 +564,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -579,9 +579,9 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install run: yarn install @@ -608,7 +608,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -647,7 +647,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -659,7 +659,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -700,11 +700,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -716,7 +716,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -761,10 +761,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -776,7 +776,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -816,10 +816,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -831,7 +831,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -870,10 +870,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -885,7 +885,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -2287,7 +2287,7 @@ jobs: fi - name: Alert Slack on old PRs if: \${{ steps.old_prs.outputs.pr_links }} - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e + uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 env: SLACK_WEBHOOK_URL: \${{ secrets.ALERT_PRS_SLACK_WEBHOOK_URL }} with: @@ -2315,7 +2315,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2346,7 +2346,7 @@ jobs: if: github.event.issue.user.login != 'team-tf-cdk' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.issue.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -2372,7 +2372,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && github.actor != 'dependabot[bot]' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -2403,7 +2403,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Turn on automerge for this PR by a trusted user or bot if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' env: @@ -2427,7 +2427,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2452,7 +2452,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -2467,7 +2467,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -2480,7 +2480,7 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -2510,7 +2510,7 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -2522,7 +2522,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2544,11 +2544,11 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -2560,7 +2560,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2582,10 +2582,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -2597,7 +2597,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2619,10 +2619,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -2634,7 +2634,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2656,10 +2656,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -2671,7 +2671,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2710,7 +2710,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -2721,7 +2721,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install dependencies run: yarn install --check-files --frozen-lockfile @@ -2731,7 +2731,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -2746,10 +2746,10 @@ jobs: CI: "true" steps: - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Setup Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -2761,7 +2761,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -2840,9 +2840,9 @@ jobs: NODE_OPTIONS: --max-old-space-size=6656 steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Setup Terraform uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd @@ -2883,7 +2883,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f 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 }}\`" @@ -2948,7 +2948,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 - name: Set git config safe.directory @@ -2977,7 +2977,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -2992,9 +2992,9 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install run: yarn install @@ -3021,7 +3021,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -3060,7 +3060,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -3072,7 +3072,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -3113,11 +3113,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -3129,7 +3129,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -3174,10 +3174,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -3189,7 +3189,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -3229,10 +3229,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -3244,7 +3244,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -3283,10 +3283,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -3298,7 +3298,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -3397,7 +3397,7 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -3414,7 +3414,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -3428,7 +3428,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -3446,7 +3446,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@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- @@ -5123,7 +5123,7 @@ jobs: fi - name: Alert Slack on old PRs if: \${{ steps.old_prs.outputs.pr_links }} - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e + uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 env: SLACK_WEBHOOK_URL: \${{ secrets.ALERT_PRS_SLACK_WEBHOOK_URL }} with: @@ -5151,7 +5151,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5182,7 +5182,7 @@ jobs: if: github.event.issue.user.login != 'team-tf-cdk' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.issue.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -5208,7 +5208,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && github.actor != 'dependabot[bot]' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -5239,7 +5239,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Turn on automerge for this PR by a trusted user or bot if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' env: @@ -5263,7 +5263,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5288,7 +5288,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -5303,7 +5303,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -5316,7 +5316,7 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -5346,7 +5346,7 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -5358,7 +5358,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5380,11 +5380,11 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -5396,7 +5396,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5418,10 +5418,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -5433,7 +5433,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5455,10 +5455,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -5470,7 +5470,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5492,10 +5492,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -5507,7 +5507,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5546,7 +5546,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -5557,7 +5557,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install dependencies run: yarn install --check-files --frozen-lockfile @@ -5567,7 +5567,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -5582,10 +5582,10 @@ jobs: CI: "true" steps: - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Setup Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -5597,7 +5597,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -5676,9 +5676,9 @@ jobs: NODE_OPTIONS: --max-old-space-size=31744 steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - run: yarn install - id: check_version @@ -5715,7 +5715,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f 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 }}\`" @@ -5780,7 +5780,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 - name: Set git config safe.directory @@ -5809,7 +5809,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -5824,9 +5824,9 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install run: yarn install @@ -5853,7 +5853,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -5892,7 +5892,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -5904,7 +5904,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -5945,11 +5945,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -5961,7 +5961,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -6006,10 +6006,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -6021,7 +6021,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -6061,10 +6061,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -6076,7 +6076,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -6115,10 +6115,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -6130,7 +6130,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -6229,7 +6229,7 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -6246,7 +6246,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -6260,7 +6260,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -6278,7 +6278,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@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- @@ -7955,7 +7955,7 @@ jobs: fi - name: Alert Slack on old PRs if: \${{ steps.old_prs.outputs.pr_links }} - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e + uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 env: SLACK_WEBHOOK_URL: \${{ secrets.ALERT_PRS_SLACK_WEBHOOK_URL }} with: @@ -7983,7 +7983,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8014,7 +8014,7 @@ jobs: if: github.event.issue.user.login != 'team-tf-cdk' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.issue.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -8040,7 +8040,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && github.actor != 'dependabot[bot]' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -8071,7 +8071,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Turn on automerge for this PR by a trusted user or bot if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' env: @@ -8095,7 +8095,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8120,7 +8120,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -8135,7 +8135,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -8148,7 +8148,7 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -8178,7 +8178,7 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -8190,7 +8190,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8212,11 +8212,11 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -8228,7 +8228,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8250,10 +8250,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -8265,7 +8265,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8287,10 +8287,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -8302,7 +8302,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8324,10 +8324,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -8339,7 +8339,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -8378,7 +8378,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -8389,7 +8389,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install dependencies run: yarn install --check-files --frozen-lockfile @@ -8399,7 +8399,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -8414,10 +8414,10 @@ jobs: CI: "true" steps: - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Setup Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -8429,7 +8429,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -8508,9 +8508,9 @@ jobs: NODE_OPTIONS: --max-old-space-size=6656 steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Setup Terraform uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd @@ -8551,7 +8551,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f 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 }}\`" @@ -8616,7 +8616,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 - name: Set git config safe.directory @@ -8645,7 +8645,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -8660,9 +8660,9 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: {} - name: Install run: yarn install @@ -8689,7 +8689,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -8728,7 +8728,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -8740,7 +8740,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -8781,11 +8781,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - name: Download build artifacts @@ -8797,7 +8797,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -8842,10 +8842,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -8857,7 +8857,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -8897,10 +8897,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -8912,7 +8912,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -8951,10 +8951,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.x - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -8966,7 +8966,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -9065,7 +9065,7 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -9082,7 +9082,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -9096,7 +9096,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -9114,7 +9114,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@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- @@ -10791,7 +10791,7 @@ jobs: fi - name: Alert Slack on old PRs if: \${{ steps.old_prs.outputs.pr_links }} - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e + uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 env: SLACK_WEBHOOK_URL: \${{ secrets.ALERT_PRS_SLACK_WEBHOOK_URL }} with: @@ -10819,7 +10819,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -10850,7 +10850,7 @@ jobs: if: github.event.issue.user.login != 'team-tf-cdk' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.issue.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -10876,7 +10876,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && github.actor != 'dependabot[bot]' && !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR", "CONTRIBUTOR"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -10907,7 +10907,7 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Turn on automerge for this PR by a trusted user or bot if: github.event.pull_request.user.login == 'team-tf-cdk' || contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) || github.actor == 'dependabot[bot]' env: @@ -10931,13 +10931,13 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -10960,7 +10960,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -10975,7 +10975,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -10988,7 +10988,7 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -11018,7 +11018,7 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -11030,7 +11030,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -11052,11 +11052,11 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -11068,7 +11068,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -11090,10 +11090,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -11105,7 +11105,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -11127,10 +11127,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -11142,7 +11142,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -11164,10 +11164,10 @@ jobs: contents: read if: \${{ !needs.build.outputs.self_mutation_happened }} steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -11179,7 +11179,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -11218,7 +11218,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -11229,7 +11229,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -11240,7 +11240,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -11255,11 +11255,11 @@ jobs: CI: "true" steps: - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Setup Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -11271,7 +11271,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -11350,9 +11350,9 @@ jobs: NODE_OPTIONS: --max-old-space-size=6656 steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Setup Terraform @@ -11394,7 +11394,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f 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 }}\`" @@ -11459,7 +11459,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 0 - name: Set git config safe.directory @@ -11469,7 +11469,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -11492,7 +11492,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: build-artifact path: dist @@ -11507,9 +11507,9 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install @@ -11537,7 +11537,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -11576,7 +11576,7 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -11588,7 +11588,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -11629,11 +11629,11 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 + - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b with: distribution: corretto java-version: "11" - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Download build artifacts @@ -11645,7 +11645,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -11690,10 +11690,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - - uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b with: python-version: 3.x - name: Download build artifacts @@ -11705,7 +11705,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -11745,10 +11745,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee + - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 with: dotnet-version: 6.x - name: Download build artifacts @@ -11760,7 +11760,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -11799,10 +11799,10 @@ jobs: issues: write if: needs.release.outputs.tag_exists != 'true' && needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version: ^1.18.0 - name: Download build artifacts @@ -11814,7 +11814,7 @@ jobs: run: cd dist && setfacl --restore=permissions-backup.acl continue-on-error: true - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: path: .repo - name: Install Dependencies @@ -11913,13 +11913,13 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory run: git config --global --add safe.directory $(pwd) - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: node-version: 18.12.0 - name: Install dependencies @@ -11934,7 +11934,7 @@ jobs: working-directory: ./ - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b with: name: repo.patch path: repo.patch @@ -11948,7 +11948,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: main - name: Set git config safe.directory @@ -11966,7 +11966,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@c5a7806660adbe173f04e3e038b0ccdcd758773c + uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |-