From 606ad9696e61f43547c116d97d076cf54febf456 Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Mon, 9 Oct 2023 21:35:31 -0400 Subject: [PATCH] chore(deps): upgrade dependencies (#1239) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/cdktf/cdktf-provider-aws/actions/runs/6463048566 ------ *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 | 31 ++++++++++++------- 6 files changed, 51 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/auto-close-community-prs.yml diff --git a/.gitattributes b/.gitattributes index 4f83880dde4..956e7f3b090 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 97dd48cc187..bb304eb50e0 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-aws). 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-aws). 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 00000000000..709e6871eaf --- /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-aws). 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 c3510172979..fef00eb0c47 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 1715886f83b..0f11a897bf2 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 e8f28446bd5..8b52308b602 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" @@ -743,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" @@ -3274,9 +3276,9 @@ jsii@1.90.0: yargs "^16.2.0" jsii@^5.0.1, jsii@^5.1.10: - version "5.2.12" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.12.tgz#62fffa9ea1597d32528a53eb2a1a0c00951a7c34" - integrity sha512-aHKDD94kOEGzSGDu7G07uzsU0r/H+/x68/jCquFTGI7+Z961FaKH/O1VLh4mCNCvwNACAsrtme+0vWGNHyc86A== + 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.90.0" "@jsii/spec" "^1.90.0" @@ -5366,9 +5368,9 @@ typescript@^3.9.10, typescript@~3.9.10: integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== 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@~5.1.6: version "5.1.6" @@ -5385,6 +5387,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"