From d1368142db784e77089b7896fc13c68eedabb644 Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Wed, 14 Dec 2022 01:21:52 +0100 Subject: [PATCH] chore(deps): upgrade dependencies (#265) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/cdktf/cdktf-provider-spotinst/actions/runs/3690483584 ------ *Automatically created by projen via the "upgrade-main" workflow* --- .gitattributes | 3 ++ .../workflows/auto-close-community-issues.yml | 25 +++++++++ .github/workflows/lock.yml | 19 +++++++ .github/workflows/stale.yml | 30 +++++++++++ .github/workflows/upgrade-main.yml | 2 +- .gitignore | 3 ++ .projen/files.json | 3 ++ package.json | 4 +- yarn.lock | 52 +++++++++---------- 9 files changed, 112 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/auto-close-community-issues.yml create mode 100644 .github/workflows/lock.yml create mode 100644 .github/workflows/stale.yml diff --git a/.gitattributes b/.gitattributes index f2c187133..c25d6e126 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,11 +4,14 @@ /.github/ISSUE_TEMPLATE/config.yml linguist-generated /.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/build.yml linguist-generated +/.github/workflows/lock.yml linguist-generated /.github/workflows/next-cdktf-version-pr.yml linguist-generated /.github/workflows/provider-upgrade.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated +/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade-main.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated diff --git a/.github/workflows/auto-close-community-issues.yml b/.github/workflows/auto-close-community-issues.yml new file mode 100644 index 000000000..96e6f60d8 --- /dev/null +++ b/.github/workflows/auto-close-community-issues.yml @@ -0,0 +1,25 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +name: auto-close-community-issues +on: + issues: + types: + - opened + pull_request: + types: + - opened +jobs: + autoclose: + runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + if: github.event.issue.author_association != 'OWNER' && github.event.issue.author_association != 'COLLABORATOR' + steps: + - name: Auto-close issues by non-collaborators + uses: peter-evans/close-issue@v2 + 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-spotinst). 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 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 000000000..0598453a8 --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,19 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +name: lock +on: + schedule: + - cron: 20 2 * * * +jobs: + lock: + runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + steps: + - uses: dessant/lock-threads@v4.0.0 + 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 + pr-comment: I'm going to lock this pull request 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 related to this change, please [open a new issue](https://github.com/cdktf/cdktf-provider-project/issues/new) so we can investigate further. + pr-inactive-days: 7 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..b09706255 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,30 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +name: stale +on: + schedule: + - cron: 0 1 * * * + workflow_dispatch: {} +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v4 + with: + days-before-stale: -1 + days-before-close: -1 + days-before-pr-stale: 14 + days-before-pr-close: 7 + stale-pr-message: 14 days have passed since this PR was opened, and I assume other builds have succeeded in the meantime. If no one removes the `stale` label or comments, I'm going to auto-close this PR in 7 days. + close-pr-message: I'm closing this PR automatically with the assumption that other builds have succeeded in the meantime. + stale-pr-label: stale + exempt-pr-labels: backlog + days-before-issue-stale: 45 + days-before-issue-close: 14 + stale-issue-message: 45 days have passed since this issue was opened, and I assume other publishes have succeeded in the meantime. If no one removes the `stale` label or comments, I'm going to auto-close this issue in 14 days. + close-issue-message: 2 months have passed, so I'm closing this issue with the assumption that other publishes have succeeded in the meantime. + stale-issue-label: stale + exempt-issue-labels: backlog diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index 0696149e9..94e44fb05 100644 --- a/.github/workflows/upgrade-main.yml +++ b/.github/workflows/upgrade-main.yml @@ -81,7 +81,7 @@ jobs: *Automatically created by projen via the "upgrade-main" workflow* branch: github-actions/upgrade-main title: "chore(deps): upgrade dependencies" - labels: automerge + labels: automerge,dependencies body: |- Upgrades project dependencies. See details in [workflow run]. diff --git a/.gitignore b/.gitignore index 7b61e0ea4..b5980e53a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ !/.projen/files.json !/.mergify.yml !/.github/workflows/pull-request-lint.yml +!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -54,6 +55,8 @@ package-lock.json !/scripts/check-for-upgrades.js !/.github/workflows/provider-upgrade.yml !/.github/ISSUE_TEMPLATE/config.yml +!/.github/workflows/auto-close-community-issues.yml +!/.github/workflows/lock.yml !/.github/workflows/next-cdktf-version-pr.yml !/.github/workflows/alert-open-prs.yml !/scripts/should-release.js diff --git a/.projen/files.json b/.projen/files.json index 1ffd74fcd..b5aee7c4d 100644 --- a/.projen/files.json +++ b/.projen/files.json @@ -4,11 +4,14 @@ ".github/ISSUE_TEMPLATE/config.yml", ".github/pull_request_template.md", ".github/workflows/alert-open-prs.yml", + ".github/workflows/auto-close-community-issues.yml", ".github/workflows/build.yml", + ".github/workflows/lock.yml", ".github/workflows/next-cdktf-version-pr.yml", ".github/workflows/provider-upgrade.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", + ".github/workflows/stale.yml", ".github/workflows/upgrade-main.yml", ".gitignore", ".mergify.yml", diff --git a/package.json b/package.json index bd4ea03e7..9ca207823 100644 --- a/package.json +++ b/package.json @@ -52,11 +52,11 @@ "dot-prop": "^5.2.0", "jsii": "^1.53.0", "jsii-diff": "^1.72.0", - "jsii-docgen": "^7.0.171", + "jsii-docgen": "^7.0.172", "jsii-pacmak": "^1.72.0", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.65.57", + "projen": "^0.65.58", "standard-version": "^9", "typescript": "^4.9.4" }, diff --git a/yarn.lock b/yarn.lock index 889898cd8..cee766ab8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -160,9 +160,9 @@ jsii-srcmak "^0.1.741" "@cdktf/provider-project@^0.2.8": - version "0.2.83" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.83.tgz#a558b0b8a0a624edde2ea5199f2e757446ea7bec" - integrity sha512-Y9idSu8XgCo3JiixjPxF3u72Us4R5MODC4Uq+ViyOT6ZqPSuTT/ZM75FRPrd1NIT7/mIatvs81jko6wWw0A5yw== + version "0.2.84" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.84.tgz#bd3664bbd36874395e7b1147f334f4e1600f36b4" + integrity sha512-DOC0+MYJd930h1iljlx72+mRToMtzVRI+Uzfypve6EejMJ1trUaodAGK1Ofmc0v/bRfC12q+Nc/Kzv/p+XnzAg== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" @@ -480,9 +480,9 @@ form-data "^3.0.0" "@types/node@*": - version "18.11.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.13.tgz#dff34f226ec1ac0432ae3b136ec5552bd3b9c0fe" - integrity sha512-IASpMGVcWpUsx5xBOrxMj7Bl8lqfuTY7FKAnPmu5cHkfQVWF8GulWS1jbRqA934qZL35xh5xN/+Xe/i26Bod4w== + version "18.11.15" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.15.tgz#de0e1fbd2b22b962d45971431e2ae696643d3f5d" + integrity sha512-VkhBbVo2+2oozlkdHXLrb3zjsRkpdnaU2bXmX8Wgle3PUi569eLRaHGlgETQHR7lLL1w7GiG3h9SnePhxNDecw== "@types/node@^14": version "14.18.34" @@ -872,9 +872,9 @@ camelcase@^6.3.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== camelcase@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.0.tgz#fd112621b212126741f998d614cbc2a8623fd174" - integrity sha512-JToIvOmz6nhGsUhAYScbo2d6Py5wojjNfoxoc2mEVLUdJ70gJK2gnd+ABY1Tc3sVMyK7QDPtN0T/XdlCQWITyQ== + version "7.0.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.1.tgz#f02e50af9fd7782bc8b88a3558c32fd3a388f048" + integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== capital-case@^1.0.4: version "1.0.4" @@ -1168,9 +1168,9 @@ constant-case@^3.0.4: upper-case "^2.0.2" constructs@^10.0.0, constructs@^10.0.25: - version "10.1.188" - resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.1.188.tgz#7db5e149b49731e53b1e93522c20b31e277e0860" - integrity sha512-7mU2FRMww0wQXPFr+AlR5oeRCXgWIvvB5trR0fW3mdAPJrnFa2S1IODwn1w6QKgxH63t6uEH3nFkUkXlNy46Gw== + version "10.1.189" + resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.1.189.tgz#a701517dbb0070098e94e822567c4fe7d694fdf5" + integrity sha512-xBwsjkgzZVqND1qHH6JQcROtJSlJsdYYHv4Spmipf2KVGXk4v70OGfvT2vTSWXvIoivxhnzPhEPKnMmFDheCmA== conventional-changelog-angular@^5.0.12: version "5.0.13" @@ -2270,10 +2270,10 @@ jsii-diff@^1.72.0: log4js "^6.7.1" yargs "^16.2.0" -jsii-docgen@^7.0.171: - version "7.0.171" - resolved "https://registry.yarnpkg.com/jsii-docgen/-/jsii-docgen-7.0.171.tgz#fabd2f5c076462f7d067e83be81fae916c2f7059" - integrity sha512-sLctEKyjTvW/CT722JeQjdFO5OfWjoWTq6beBgP304JJEPdTz8Y72xlwYIxqKgOVxULTDs57qw0p+dPxh6HVbQ== +jsii-docgen@^7.0.172: + version "7.0.172" + resolved "https://registry.yarnpkg.com/jsii-docgen/-/jsii-docgen-7.0.172.tgz#13d870b770a20dd341cb13bc280de903a62f8cd4" + integrity sha512-eP1tZwjyxU5iocJrPd7KKgGOUh43ZA+kh0vY24LDV+xYiucSbOsSVYTzrJ6yVZ3yMpSBISwU/DWvtCcXqBzAqw== dependencies: "@jsii/spec" "^1.72.0" case "^1.6.3" @@ -2334,9 +2334,9 @@ jsii-rosetta@^1.71.0, jsii-rosetta@^1.72.0: yargs "^16.2.0" jsii-srcmak@^0.1.741: - version "0.1.761" - resolved "https://registry.yarnpkg.com/jsii-srcmak/-/jsii-srcmak-0.1.761.tgz#481b711bd0a6ae2ac1117c0b76da4f56d49e1561" - integrity sha512-+XFd66p10mo8S7137Z01jc4UDyxf6FUc3EBFAE+ipTnZBNfhITtZ4kIbqKITX0z/iBLpR5a3kYCMeelUDMKhUw== + version "0.1.762" + resolved "https://registry.yarnpkg.com/jsii-srcmak/-/jsii-srcmak-0.1.762.tgz#6ca2109adab279665d5f0e4f95b03b9f784db10c" + integrity sha512-CcbT4/UIJrDaLY0o5+BOdS4BGa1KAHNQHOqS1X7E7qjyJx8fl37FQSATYnkBwfcqL5U9hChSUc0Dc84EcC+ImQ== dependencies: fs-extra "^9.1.0" jsii "^1.72.0" @@ -3285,10 +3285,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.65.57: - version "0.65.57" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.65.57.tgz#6c765daa781c2ef41f72329d5c94f2ef9c0d6980" - integrity sha512-btWGkwykP8KAlo0LANcrz8d5hOoUOMqcyc6FixOqQLrE5b4mlGyTpA2z4nEZI2QyF+ymDU1isDt2Cz7n8Ard3g== +projen@^0.65.58: + version "0.65.58" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.65.58.tgz#b6eef2a9d8acd69a7bf451f2f9cbb8f30b2bc723" + integrity sha512-qCry4WC/FWwbOLddL13ny5VY8c2qqf8bKxBgmCUCNS9A3I23wSDVF3E0EV7BTDYu6suMoL6lDe43U6DPZL79JA== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3" @@ -3385,9 +3385,9 @@ rc@1.2.8: strip-json-comments "~2.0.1" read-package-json-fast@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-3.0.1.tgz#de13ae1c591850534daf77e083e851f94af67733" - integrity sha512-8+HW7Yo+cjfF+md8DqsZHgats2mxf7gGYow/+2JjxrftoHFZz9v4dzd0EubzYbkNaLxrTVcnllHwklXN2+7aTQ== + version "3.0.2" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz#394908a9725dc7a5f14e70c8e7556dff1d2b1049" + integrity sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw== dependencies: json-parse-even-better-errors "^3.0.0" npm-normalize-package-bin "^3.0.0"