From bfc6be32110a753cab28d80719dab3f7ed39803c Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Mon, 9 Oct 2023 20:20:39 -0400 Subject: [PATCH] chore(deps): upgrade dependencies (#401) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/cdktf/cdktf-provider-hcp/actions/runs/6462997261 ------ *Automatically created by projen via the "upgrade-main" workflow* --- .gitattributes | 1 + .../workflows/auto-close-community-issues.yml | 14 +++--- .../workflows/auto-close-community-prs.yml | 22 +++++++++ .gitignore | 1 + .projen/files.json | 1 + yarn.lock | 45 +++++++++---------- 6 files changed, 54 insertions(+), 30 deletions(-) create mode 100644 .github/workflows/auto-close-community-prs.yml diff --git a/.gitattributes b/.gitattributes index 4f83880dd..956e7f3b0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,6 +7,7 @@ /.github/pull_request_template.md linguist-generated /.github/workflows/alert-open-prs.yml linguist-generated /.github/workflows/auto-close-community-issues.yml linguist-generated +/.github/workflows/auto-close-community-prs.yml linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/force-release.yml linguist-generated /.github/workflows/lock.yml linguist-generated diff --git a/.github/workflows/auto-close-community-issues.yml b/.github/workflows/auto-close-community-issues.yml index 21f671d80..7cd751156 100644 --- a/.github/workflows/auto-close-community-issues.yml +++ b/.github/workflows/auto-close-community-issues.yml @@ -9,14 +9,14 @@ jobs: autoclose: runs-on: ubuntu-latest permissions: - pull-requests: write issues: write if: github.event.issue.author_association != 'OWNER' && github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'COLLABORATOR' steps: - name: Auto-close issues by non-collaborators - uses: peter-evans/close-issue@276d7966e389d888f011539a86c8920025ea0626 - with: - issue-number: ${{ github.event.issue.number }} - comment: Hi there! 👋 We appreciate your interest, but this is probably not the right place. All the code in this repository is auto-generated using [cdktf-provider-project](https://github.com/cdktf/cdktf-provider-project) and [cdktf-repository-manager](https://github.com/cdktf/cdktf-repository-manager) from the source [Terraform provider](https://github.com/terraform-providers/terraform-provider-hcp). If there are problems, they should be addressed in one of those 3 repositories, not here, as any changes here will just get overwritten the next time there is an update upstream. Please open a new issue or PR in one of those repos. In the meantime, I'll auto-close this. Thanks! - close-reason: not_planned - labels: invalid,wontfix + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh issue close ${{ github.event.issue.number }} --reason "not planned" --comment "Hi there! 👋 We appreciate your interest, but this is probably not the right place. All the code in this repository is auto-generated using [cdktf-provider-project](https://github.com/cdktf/cdktf-provider-project) and [cdktf-repository-manager](https://github.com/cdktf/cdktf-repository-manager) from the source [Terraform provider](https://github.com/terraform-providers/terraform-provider-hcp). If there are problems, they should be addressed in one of those 3 repositories, not here, as any changes here will just get overwritten the next time there is an update upstream. Please open a new issue or PR in one of those repos. In the meantime, I'll auto-close this. Thanks!" + - name: Add labels + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh issue edit ${{ github.event.issue.number }} --add-label "invalid,wontfix" diff --git a/.github/workflows/auto-close-community-prs.yml b/.github/workflows/auto-close-community-prs.yml new file mode 100644 index 000000000..9468d2ce3 --- /dev/null +++ b/.github/workflows/auto-close-community-prs.yml @@ -0,0 +1,22 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +name: auto-close-community-prs +on: + pull_request: + types: + - opened +jobs: + autoclose: + runs-on: ubuntu-latest + permissions: + pull-requests: write + if: github.event.pull_request.author_association != 'OWNER' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'COLLABORATOR' + steps: + - name: Auto-close PRs by non-collaborators + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr close ${{ github.event.pull_request.number }} --delete-branch --comment "Hi there! 👋 We appreciate your interest, but this is probably not the right place. All the code in this repository is auto-generated using [cdktf-provider-project](https://github.com/cdktf/cdktf-provider-project) and [cdktf-repository-manager](https://github.com/cdktf/cdktf-repository-manager) from the source [Terraform provider](https://github.com/terraform-providers/terraform-provider-hcp). If there are problems, they should be addressed in one of those 3 repositories, not here, as any changes here will just get overwritten the next time there is an update upstream. Please open a new issue or PR in one of those repos. In the meantime, I'll auto-close this. Thanks!" + - name: Add labels + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr edit ${{ github.event.pull_request.number }} --add-label "invalid,wontfix" diff --git a/.gitignore b/.gitignore index c35101729..fef00eb0c 100644 --- a/.gitignore +++ b/.gitignore @@ -56,6 +56,7 @@ package-lock.json !/LICENSE !/.github/ISSUE_TEMPLATE/config.yml !/.github/workflows/auto-close-community-issues.yml +!/.github/workflows/auto-close-community-prs.yml !/.github/workflows/lock.yml !/.github/workflows/next-cdktf-version-pr.yml !/.github/workflows/alert-open-prs.yml diff --git a/.projen/files.json b/.projen/files.json index 1715886f8..0f11a897b 100644 --- a/.projen/files.json +++ b/.projen/files.json @@ -7,6 +7,7 @@ ".github/pull_request_template.md", ".github/workflows/alert-open-prs.yml", ".github/workflows/auto-close-community-issues.yml", + ".github/workflows/auto-close-community-prs.yml", ".github/workflows/build.yml", ".github/workflows/force-release.yml", ".github/workflows/lock.yml", diff --git a/yarn.lock b/yarn.lock index 44d7ef0dd..4092c298f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -201,9 +201,9 @@ jsii-srcmak "^0.1.951" "@cdktf/provider-project@^0.2.95": - version "0.2.127" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.127.tgz#441418320cd40ced833baecf405b39a1a7aa6600" - integrity sha512-nRuLF3FgbRUGVtIcxRcI3OKnxX8V2R1RBYk2ZInkTe+9GcH1fywRS3s8Z0poMsSum8c8gyFFKaguK5ATVO/xZA== + version "0.2.128" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.128.tgz#8c0b6f4df4dd0b22edd0b1e9de1ae596fa0eb0cc" + integrity sha512-PON4G93W9/fzNkDnwFOEVXI6XF3m7RATXJO4tDazWrJVXOIYba63lMsJVTCMS09b2lhnjMvT+CdPbGXLZY/tKw== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" @@ -443,14 +443,6 @@ chalk "^4.1.2" semver "^7.5.4" -"@jsii/check-node@1.89.0": - version "1.89.0" - resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.89.0.tgz#0cfe0fec566ca1b35004ad9c9497d4d81f28811b" - integrity sha512-RMw19IEj6ch6oOGkBrAbtzwshrOXMKlfbX54S0hGrwR1qlSjNS9qqt4p+LRSpurhriEo7oHDegItNGUjPYoNXw== - dependencies: - chalk "^4.1.2" - semver "^7.5.4" - "@jsii/check-node@1.90.0": version "1.90.0" resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.90.0.tgz#05de59bb9024fb6a24c8d13c834f9badb5caf3db" @@ -459,7 +451,7 @@ chalk "^4.1.2" semver "^7.5.4" -"@jsii/spec@1.90.0", "@jsii/spec@^1.88.0", "@jsii/spec@^1.89.0", "@jsii/spec@^1.90.0": +"@jsii/spec@1.90.0", "@jsii/spec@^1.88.0", "@jsii/spec@^1.90.0": version "1.90.0" resolved "https://registry.yarnpkg.com/@jsii/spec/-/spec-1.90.0.tgz#900edff7bc865396933dc8e178c0ee64c7778dbe" integrity sha512-Uajku7MWhkfxd8Ux8+8lOzT6Oa/Td8HzmBYZb9kd9v04qEGBQH/tQkUr80Md7dvq6SbRUKevDenYNQ8qiHHxpg== @@ -751,9 +743,11 @@ "@types/node" "*" "@types/node@*", "@types/node@^20.4.2", "@types/node@^20.8.2": - version "20.8.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.3.tgz#c4ae2bb1cfab2999ed441a95c122bbbe1567a66d" - integrity sha512-jxiZQFpb+NlH5kjW49vXxvxTjeeqlbsnTAdBTKpzEdPs9itay7MscYXz3Fo9VYFEsfQ6LJFitHad3faerLAjCw== + version "20.8.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.4.tgz#0e9ebb2ff29d5c3302fc84477d066fa7c6b441aa" + integrity sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A== + dependencies: + undici-types "~5.25.1" "@types/node@16.18.23": version "16.18.23" @@ -3282,12 +3276,12 @@ jsii@1.90.0: yargs "^16.2.0" jsii@^5.0.1, jsii@^5.1.10: - version "5.2.11" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.11.tgz#52821745c79585664ed35e97e291eb9c56953d75" - integrity sha512-HbEgIrWuGswoxgRaKOTOp4m6FPnrL6gpBAc3j78hhPo1k9MCxydiQQAKm73eCRYCwt9/zPBms8O+3Vd6Bi1kRQ== + version "5.2.14" + resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.14.tgz#6080a27fdd78b456718887a7cdd5959167ce2f2c" + integrity sha512-ryFPgWC6gVx3xtKryusm5SmX0jzr0lgv/GcGxF0EL5zKDK007NpgeqkhKm7sLOHq41hXD0r9j0Rr3d3GLUD3Lg== dependencies: - "@jsii/check-node" "1.89.0" - "@jsii/spec" "^1.89.0" + "@jsii/check-node" "1.90.0" + "@jsii/spec" "^1.90.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" @@ -5374,9 +5368,9 @@ typescript@^4.9.5: integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== typescript@next: - version "5.3.0-dev.20231008" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.0-dev.20231008.tgz#7b11c6fa1acf5f574e30388ed2ae61b9a99dc5f7" - integrity sha512-yIhJnBiRy/xd23P14x7UA5p/41U1WFoZ0PohzZoAuyVNH2DlhtLxng9CI1zVYo6amjknPb4t4apAcImtPkyXYQ== + version "5.3.0-dev.20231009" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.0-dev.20231009.tgz#6d6bd4c40e714966c5fe105aebd8d0f0eb2166c8" + integrity sha512-0JwLa29peN3wK/3uUMHTr9bzLwJ7BIloeN3JTyHj0aeyoowNMJXjpVMSTu8geVzfP4RPL9vM/7iyVPrPBmLBaQ== typescript@~3.9.10: version "3.9.10" @@ -5398,6 +5392,11 @@ uglify-js@^3.1.4: resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== +undici-types@~5.25.1: + version "5.25.3" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.25.3.tgz#e044115914c85f0bcbb229f346ab739f064998c3" + integrity sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA== + undici@^5.25.4: version "5.25.4" resolved "https://registry.yarnpkg.com/undici/-/undici-5.25.4.tgz#7d8ef81d94f84cd384986271e5e5599b6dff4296"