From 41e772b91e2578b75d1cd6d40167c7fd9afbd95c Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:30:58 +0100 Subject: [PATCH 1/6] chore: update .projenrc.ts --- .projenrc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.projenrc.ts b/.projenrc.ts index a79cdb8d..574d81ed 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -12,10 +12,10 @@ import { CustomizedLicense } from "./src/customized-license"; import { LockIssues } from "./src/lock-issues"; const githubActionPinnedVersions = { - "actions/checkout": "8ade135a41bc03ea155e62e844d188df1ea18608", // v4.1.0 + "actions/checkout": "b4ffde65f46336ab88eb53be808477a3936bae11", // v4.1.1 "actions/download-artifact": "9bc31d5ccc31df68ecc42ccf4149144866c47d8a", // v3.0.2 "actions/github-script": "d7906e4ad0b1822421a7e6a35d5ca353c962f410", // v6.4.1 - "actions/setup-node": "5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d", // v3.8.1 + "actions/setup-node": "8f152de45cc393bb48ce5d89d36b731f54556e65", // v4.0.0 "actions/upload-artifact": "a8a3f3ad30e3422c9c7b888a15615d19a852ae32", // v3.1.3 "amannn/action-semantic-pull-request": "47b15d52c5c30e94a17ec87eb8dd51ff5221fed9", // v5.3.0 From e94b7407ab37d6b8f0a5cec771bcc06ae96a1586 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:37:52 +0100 Subject: [PATCH 2/6] chore: update index.ts --- src/index.ts | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/index.ts b/src/index.ts index 304dd453..a243301d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,20 +60,23 @@ const getMavenName = (providerName: string): string => { }; const githubActionPinnedVersions = { - "actions/checkout": "8e5e7e5ab8b370d6c329ec480221332ada57f0ab", // v3.5.2 - "actions/setup-node": "64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c", // v3.6.0 - "actions/upload-artifact": "0b7f8abb1508181956e8e162db84b466c27e18ce", // v3.1.2 + "actions/checkout": "b4ffde65f46336ab88eb53be808477a3936bae11", // v4.1.1 "actions/download-artifact": "9bc31d5ccc31df68ecc42ccf4149144866c47d8a", // v3.0.2 - "actions/setup-java": "5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2", // v3.11.0 - "actions/setup-go": "fac708d6674e30b6ba41289acaab6d4b75aa0753", // v4.0.1 - "actions/setup-dotnet": "607fce577a46308457984d59e4954e075820f10a", // v3.0.3 - "actions/setup-python": "bd6b4b6205c4dbad673328db7b31b7fab9e241c0", // v4.6.1 - "dessant/lock-threads": "c1b35aecc5cdb1a34539d14196df55838bb2f836", // v4.0.0 - "peter-evans/create-pull-request": "284f54f989303d2699d373481a0cfa13ad5a6666", // v5.0.1 - "imjohnbo/issue-bot": "6924a99d928dc228f407d34eb3d0149eda73f2a7", // v3.4.3 + "actions/github-script": "d7906e4ad0b1822421a7e6a35d5ca353c962f410", // v6.4.1 + "actions/setup-dotnet": "3447fd6a9f9e57506b15f895c5b76d3b197dc7c2", // v3.2.0 + "actions/setup-go": "93397bea11091df50f3d7e59dc26a7711a8bcfbe", // v4.1.0 + "actions/setup-java": "0ab4596768b603586c0de567f2430c30f5b0d2b0", // v3.13.0 + "actions/setup-node": "8f152de45cc393bb48ce5d89d36b731f54556e65", // v4.0.0 + "actions/setup-python": "65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236", // v4.7.1 "actions/stale": "1160a2240286f5da8ec72b1c0816ce2481aabf84", // v8.0.0 - "slackapi/slack-github-action": "e28cf165c92ffef168d23c5c9000cffc8a25e117", // v1.24.0 + "actions/upload-artifact": "a8a3f3ad30e3422c9c7b888a15615d19a852ae32", // v3.1.3 + "amannn/action-semantic-pull-request": + "47b15d52c5c30e94a17ec87eb8dd51ff5221fed9", // v5.3.0 + "dessant/lock-threads": "be8aa5be94131386884a6da4189effda9b14aa21", // v4.0.1 "hashicorp/setup-copywrite": "867a1a2a064a0626db322392806428f7dc59cb3e", // v1.1.2 + "imjohnbo/issue-bot": "6924a99d928dc228f407d34eb3d0149eda73f2a7", // v3.4.3 + "peter-evans/create-pull-request": "153407881ec5c347639a548ade7d8ad1d6740e38", // v5.0.2 + "slackapi/slack-github-action": "e28cf165c92ffef168d23c5c9000cffc8a25e117", // v1.24.0 }; export class CdktfProviderProject extends cdk.JsiiProject { From fc28e34c9fa4882f9978e604dac5990161537de5 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:40:52 +0100 Subject: [PATCH 3/6] chore: update upgrade-node.ts --- projenrc/upgrade-node.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/projenrc/upgrade-node.ts b/projenrc/upgrade-node.ts index 6682edd1..d3ab3fbd 100644 --- a/projenrc/upgrade-node.ts +++ b/projenrc/upgrade-node.ts @@ -32,6 +32,13 @@ export class UpgradeNode { name: "Checkout", uses: "actions/checkout@v3", }, + { + name: "Setup Node.js", + uses: "actions/setup-node@v3", + with: { + "node-version": project.minNodeVersion, + }, + }, { name: "Install", run: "yarn install", From f78cc2594af08afb46995784357aa465bc82d818 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:42:16 +0100 Subject: [PATCH 4/6] chore: update auto-approve.ts --- projenrc/auto-approve.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projenrc/auto-approve.ts b/projenrc/auto-approve.ts index 89591a76..35fe1ed5 100644 --- a/projenrc/auto-approve.ts +++ b/projenrc/auto-approve.ts @@ -16,11 +16,12 @@ export class AutoApprove { if (!workflow) throw new Error("no workflow defined"); workflow.on({ - pullRequest: { + pullRequestTarget: { types: ["opened", "labeled", "ready_for_review", "reopened"], }, }); + const maintainerStatuses = `fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]')`; workflow.addJobs({ approve: { runsOn: ["ubuntu-latest"], @@ -37,7 +38,7 @@ export class AutoApprove { }, { name: "Auto-approve PRs by other users as team-tf-cdk", - if: "github.event.pull_request.user.login != 'team-tf-cdk'", + if: `github.event.pull_request.user.login != 'team-tf-cdk' && (contains(${maintainerStatuses}, github.event.pull_request.author_association) || github.actor == 'dependabot[bot]')`, run: "gh pr review ${{ github.event.pull_request.number }} --approve", env: { GH_TOKEN: "${{ secrets.PROJEN_GITHUB_TOKEN }}", From 12ba35961552cc02c72bf32a59889241c8ac2737 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:43:28 +0100 Subject: [PATCH 5/6] chore: update automerge.ts --- projenrc/automerge.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projenrc/automerge.ts b/projenrc/automerge.ts index 03ba365c..aec07cca 100644 --- a/projenrc/automerge.ts +++ b/projenrc/automerge.ts @@ -7,7 +7,7 @@ import { javascript } from "projen"; import { JobPermission } from "projen/lib/github/workflows-model"; /** - * Turns on GitHub's native automerge for PRs with the "automerge" label + * Enables GitHub's built-in automerge for PRs with the "automerge" label */ export class Automerge { constructor(project: javascript.NodeProject) { @@ -16,7 +16,7 @@ export class Automerge { if (!workflow) throw new Error("no workflow defined"); workflow.on({ - pullRequest: { + pullRequestTarget: { types: [ "opened", "labeled", @@ -29,6 +29,7 @@ export class Automerge { (workflow.concurrency as any) = "${{ github.workflow }}-${{ github.ref }}"; + const maintainerStatuses = `fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]')`; workflow.addJobs({ automerge: { runsOn: ["ubuntu-latest"], @@ -39,7 +40,8 @@ export class Automerge { uses: "actions/checkout@v3", }, { - name: "Turn on automerge for this PR", + name: "Turn on automerge for this PR by a trusted user or bot", + if: `github.event.pull_request.user.login == 'team-tf-cdk' || contains(${maintainerStatuses}, github.event.pull_request.author_association) || github.actor == 'dependabot[bot]'`, run: "gh pr merge --auto --squash ${{ github.event.pull_request.number }}", env: { GH_TOKEN: "${{ secrets.PROJEN_GITHUB_TOKEN }}", From 2c6a3094ed64297a09b1dc0ac86de910165161a9 Mon Sep 17 00:00:00 2001 From: team-tf-cdk Date: Wed, 1 Nov 2023 14:49:45 +0000 Subject: [PATCH 6/6] chore: self mutation Signed-off-by: team-tf-cdk --- .github/workflows/auto-approve.yml | 6 +- .github/workflows/automerge.yml | 7 +- .github/workflows/build.yml | 8 +- .github/workflows/release.yml | 8 +- .github/workflows/upgrade-main.yml | 6 +- .github/workflows/upgrade-node.yml | 6 +- test/__snapshots__/index.test.ts.snap | 252 +++++++++++++------------- 7 files changed, 149 insertions(+), 144 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index e789e65a..698d7192 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -2,7 +2,7 @@ name: auto-approve on: - pull_request: + pull_request_target: types: - opened - labeled @@ -17,12 +17,12 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && github.event.pull_request.draft == false steps: - name: Checkout PR - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Auto-approve PRs by other users as team-tf-cdk - if: github.event.pull_request.user.login != 'team-tf-cdk' + 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: GH_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} run: gh pr review ${{ github.event.pull_request.number }} --approve diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 587809c3..5593a78a 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -2,7 +2,7 @@ name: automerge on: - pull_request: + pull_request_target: types: - opened - labeled @@ -18,8 +18,9 @@ jobs: if: contains(github.event.pull_request.labels.*.name, 'automerge') && github.event.pull_request.draft == false steps: - name: Checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - - name: Turn on automerge for this PR + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - 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: GH_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} run: gh pr merge --auto --squash ${{ github.event.pull_request.number }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1fe0aee..c95448bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,12 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 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@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.12.0 - name: Install dependencies @@ -64,7 +64,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@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: token: ${{ secrets.PROJEN_GITHUB_TOKEN }} ref: ${{ github.event.pull_request.head.ref }} @@ -93,7 +93,7 @@ jobs: permissions: {} if: "! needs.build.outputs.self_mutation_happened" steps: - - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.12.0 - name: Download build artifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 451f7f3f..7a880db9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - name: Set git identity @@ -30,7 +30,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" - name: Setup Node.js - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.12.0 - name: Install dependencies @@ -58,7 +58,7 @@ jobs: contents: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.12.0 - name: Download build artifacts @@ -87,7 +87,7 @@ jobs: contents: read if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.12.0 - name: Download build artifacts diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index 5ee600c3..914acca4 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@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Setup Node.js - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.12.0 - name: Install dependencies @@ -46,7 +46,7 @@ jobs: if: ${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Download patch diff --git a/.github/workflows/upgrade-node.yml b/.github/workflows/upgrade-node.yml index 5880abd4..407b4ca7 100644 --- a/.github/workflows/upgrade-node.yml +++ b/.github/workflows/upgrade-node.yml @@ -16,7 +16,11 @@ jobs: CI: "false" steps: - name: Checkout - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - name: Setup Node.js + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 + with: + node-version: 18.12.0 - name: Install run: yarn install - name: Get current Node.js version diff --git a/test/__snapshots__/index.test.ts.snap b/test/__snapshots__/index.test.ts.snap index b481736a..b6a05308 100644 --- a/test/__snapshots__/index.test.ts.snap +++ b/test/__snapshots__/index.test.ts.snap @@ -123,7 +123,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -148,7 +148,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && !contains(fromJSON('[\\"OWNER\\", \\"MEMBER\\", \\"COLLABORATOR\\", \\"CONTRIBUTOR\\"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -175,7 +175,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -199,7 +199,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo \\"self_mutation_happened=true\\" >> $GITHUB_OUTPUT - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: .repo.patch path: .repo.patch @@ -213,7 +213,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -225,7 +225,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -254,7 +254,7 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -279,11 +279,11 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -308,10 +308,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 with: python-version: 3.x - name: Download build artifacts @@ -336,10 +336,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 with: dotnet-version: 3.x - name: Download build artifacts @@ -364,10 +364,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -412,7 +412,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -423,7 +423,7 @@ jobs: git config user.name \\"github-actions\\" git config user.email \\"github-actions@github.com\\" - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 16.14.0 - name: Install dependencies @@ -434,7 +434,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -448,11 +448,11 @@ jobs: CI: \\"true\\" steps: - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 16.14.0 - name: Setup Go - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -500,7 +500,7 @@ jobs: pull-requests: write issues: write steps: - - uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 + - uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 with: issue-comment: I'm going to lock this issue because it has been closed for at least 7 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please [open a new issue](https://github.com/cdktf/cdktf-provider-project/issues/new) so we can investigate further. issue-inactive-days: 7 @@ -523,7 +523,7 @@ jobs: CHECKPOINT_DISABLE: \\"1\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -549,7 +549,7 @@ jobs: - name: Regenerate bindings run: yarn run fetch && yarn run compile && yarn run docgen - name: Create PR - uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: token: \${{ secrets.GITHUB_TOKEN }} branch: cdktf-next-pr @@ -579,7 +579,7 @@ jobs: NODE_OPTIONS: --max-old-space-size=6656 steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - run: yarn install - id: check_version run: yarn check-if-new-provider-version @@ -602,7 +602,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: commit-message: \\"fix: upgrade provider from \`\${{ steps.current_version.outputs.value }}\` to version \`\${{ steps.new_version.outputs.value }}\`\\" branch: auto/provider-upgrade @@ -634,7 +634,7 @@ jobs: permissions: pull-requests: write steps: - - uses: amannn/action-semantic-pull-request@v5.0.2 + - uses: amannn/action-semantic-pull-request@47b15d52c5c30e94a17ec87eb8dd51ff5221fed9 env: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} with: @@ -664,7 +664,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - name: Set git config safe.directory @@ -686,7 +686,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -699,7 +699,7 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -742,7 +742,7 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -789,11 +789,11 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -844,10 +844,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 with: python-version: 3.x - name: Download build artifacts @@ -893,10 +893,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 with: dotnet-version: 3.x - name: Download build artifacts @@ -941,10 +941,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -1039,7 +1039,7 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Set git config safe.directory @@ -1055,7 +1055,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo \\"patch_created=true\\" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: .repo.patch path: .repo.patch @@ -1068,7 +1068,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Set git config safe.directory @@ -1086,7 +1086,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@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- @@ -2794,7 +2794,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -2819,7 +2819,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && !contains(fromJSON('[\\"OWNER\\", \\"MEMBER\\", \\"COLLABORATOR\\", \\"CONTRIBUTOR\\"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -2849,7 +2849,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -2873,7 +2873,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo \\"self_mutation_happened=true\\" >> $GITHUB_OUTPUT - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: .repo.patch path: .repo.patch @@ -2887,7 +2887,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -2902,7 +2902,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -2934,7 +2934,7 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -2962,11 +2962,11 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -2994,10 +2994,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 with: python-version: 3.x - name: Download build artifacts @@ -3025,10 +3025,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 with: dotnet-version: 3.x - name: Download build artifacts @@ -3056,10 +3056,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -3107,7 +3107,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -3118,7 +3118,7 @@ jobs: git config user.name \\"github-actions\\" git config user.email \\"github-actions@github.com\\" - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 16.14.0 - name: Install dependencies @@ -3129,7 +3129,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -3146,11 +3146,11 @@ jobs: CI: \\"true\\" steps: - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 16.14.0 - name: Setup Go - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -3198,7 +3198,7 @@ jobs: pull-requests: write issues: write steps: - - uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 + - uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 with: issue-comment: I'm going to lock this issue because it has been closed for at least 7 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please [open a new issue](https://github.com/cdktf/cdktf-provider-project/issues/new) so we can investigate further. issue-inactive-days: 7 @@ -3221,7 +3221,7 @@ jobs: CHECKPOINT_DISABLE: \\"1\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -3247,7 +3247,7 @@ jobs: - name: Regenerate bindings run: yarn run fetch && yarn run compile && yarn run docgen - name: Create PR - uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: token: \${{ secrets.GITHUB_TOKEN }} branch: cdktf-next-pr @@ -3280,7 +3280,7 @@ jobs: NODE_OPTIONS: --max-old-space-size=31744 steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - run: yarn install - id: check_version run: yarn check-if-new-provider-version @@ -3303,7 +3303,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: commit-message: \\"fix: upgrade provider from \`\${{ steps.current_version.outputs.value }}\` to version \`\${{ steps.new_version.outputs.value }}\`\\" branch: auto/provider-upgrade @@ -3335,7 +3335,7 @@ jobs: permissions: pull-requests: write steps: - - uses: amannn/action-semantic-pull-request@v5.0.2 + - uses: amannn/action-semantic-pull-request@47b15d52c5c30e94a17ec87eb8dd51ff5221fed9 env: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} with: @@ -3368,7 +3368,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - name: Set git config safe.directory @@ -3390,7 +3390,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -3406,7 +3406,7 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -3452,7 +3452,7 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -3502,11 +3502,11 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -3560,10 +3560,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 with: python-version: 3.x - name: Download build artifacts @@ -3612,10 +3612,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 with: dotnet-version: 3.x - name: Download build artifacts @@ -3663,10 +3663,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -3761,7 +3761,7 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Set git config safe.directory @@ -3777,7 +3777,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo \\"patch_created=true\\" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: .repo.patch path: .repo.patch @@ -3790,7 +3790,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Set git config safe.directory @@ -3808,7 +3808,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@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |- @@ -5516,7 +5516,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Auto-close issues by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -5541,7 +5541,7 @@ jobs: if: github.event.pull_request.user.login != 'team-tf-cdk' && !contains(fromJSON('[\\"OWNER\\", \\"MEMBER\\", \\"COLLABORATOR\\", \\"CONTRIBUTOR\\"]'), github.event.pull_request.author_association) steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Auto-close PRs by non-collaborators env: GH_TOKEN: \${{ secrets.GITHUB_TOKEN }} @@ -5568,7 +5568,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5592,7 +5592,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo \\"self_mutation_happened=true\\" >> $GITHUB_OUTPUT - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: .repo.patch path: .repo.patch @@ -5606,7 +5606,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -5618,7 +5618,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} ref: \${{ github.event.pull_request.head.ref }} @@ -5647,7 +5647,7 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -5672,11 +5672,11 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -5701,10 +5701,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 with: python-version: 3.x - name: Download build artifacts @@ -5729,10 +5729,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 with: dotnet-version: 3.x - name: Download build artifacts @@ -5757,10 +5757,10 @@ jobs: permissions: {} if: \\"! needs.build.outputs.self_mutation_happened\\" steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -5805,7 +5805,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ inputs.sha }} fetch-depth: 0 @@ -5816,7 +5816,7 @@ jobs: git config user.name \\"github-actions\\" git config user.email \\"github-actions@github.com\\" - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 16.14.0 - name: Install dependencies @@ -5827,7 +5827,7 @@ jobs: run: cd dist && getfacl -R . > permissions-backup.acl continue-on-error: true - name: Upload artifact - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -5841,11 +5841,11 @@ jobs: CI: \\"true\\" steps: - name: Setup Node.js - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 16.14.0 - name: Setup Go - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -5893,7 +5893,7 @@ jobs: pull-requests: write issues: write steps: - - uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 + - uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 with: issue-comment: I'm going to lock this issue because it has been closed for at least 7 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please [open a new issue](https://github.com/cdktf/cdktf-provider-project/issues/new) so we can investigate further. issue-inactive-days: 7 @@ -5916,7 +5916,7 @@ jobs: CHECKPOINT_DISABLE: \\"1\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: \${{ github.event.pull_request.head.ref }} repository: \${{ github.event.pull_request.head.repo.full_name }} @@ -5942,7 +5942,7 @@ jobs: - name: Regenerate bindings run: yarn run fetch && yarn run compile && yarn run docgen - name: Create PR - uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: token: \${{ secrets.GITHUB_TOKEN }} branch: cdktf-next-pr @@ -5972,7 +5972,7 @@ jobs: NODE_OPTIONS: --max-old-space-size=6656 steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - run: yarn install - id: check_version run: yarn check-if-new-provider-version @@ -5995,7 +5995,7 @@ jobs: run: yarn docgen - name: Create Pull Request if: \${{ steps.check_version.outputs.new_version == 'available' }} - uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: commit-message: \\"fix: upgrade provider from \`\${{ steps.current_version.outputs.value }}\` to version \`\${{ steps.new_version.outputs.value }}\`\\" branch: auto/provider-upgrade @@ -6027,7 +6027,7 @@ jobs: permissions: pull-requests: write steps: - - uses: amannn/action-semantic-pull-request@v5.0.2 + - uses: amannn/action-semantic-pull-request@47b15d52c5c30e94a17ec87eb8dd51ff5221fed9 env: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} with: @@ -6057,7 +6057,7 @@ jobs: CI: \\"true\\" steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - name: Set git config safe.directory @@ -6079,7 +6079,7 @@ jobs: continue-on-error: true - name: Upload artifact if: \${{ steps.git_remote.outputs.latest_commit == github.sha }} - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: build-artifact path: dist @@ -6092,7 +6092,7 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -6135,7 +6135,7 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -6182,11 +6182,11 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 + - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: distribution: temurin java-version: 11.x - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - name: Download build artifacts @@ -6237,10 +6237,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 with: python-version: 3.x - name: Download build artifacts @@ -6286,10 +6286,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + - uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 with: dotnet-version: 3.x - name: Download build artifacts @@ -6334,10 +6334,10 @@ jobs: issues: write if: needs.release.outputs.latest_commit == github.sha steps: - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 with: node-version: 18.x - - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: go-version: ^1.16.0 - name: Download build artifacts @@ -6432,7 +6432,7 @@ jobs: patch_created: \${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Set git config safe.directory @@ -6448,7 +6448,7 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo \\"patch_created=true\\" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 with: name: .repo.patch path: .repo.patch @@ -6461,7 +6461,7 @@ jobs: if: \${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: ref: main - name: Set git config safe.directory @@ -6479,7 +6479,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@284f54f989303d2699d373481a0cfa13ad5a6666 + uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 with: token: \${{ secrets.PROJEN_GITHUB_TOKEN }} commit-message: |-