From 6706632fbc6282f797ae34e92e328b1067113ba8 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 21 Oct 2024 15:05:00 +0000 Subject: [PATCH] chore(deps): upgrade configuration Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/cdk8s-team/cdk8s-kube-prometheus/actions/runs/11443017716 ------ *Automatically created by projen via the "upgrade-configuration" workflow* Signed-off-by: github-actions --- .gitattributes | 2 +- .github/workflows/auto-queue.yml | 22 ++++++++++++++++++++++ .github/workflows/build.yml | 1 + .gitignore | 2 +- .mergify.yml | 32 -------------------------------- .npmignore | 1 - .projen/files.json | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 9 files changed, 31 insertions(+), 41 deletions(-) create mode 100644 .github/workflows/auto-queue.yml delete mode 100644 .mergify.yml diff --git a/.gitattributes b/.gitattributes index b4d4ed8..c5d0df3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,6 +7,7 @@ /.github/ISSUE_TEMPLATE/config.yml linguist-generated /.github/pull_request_template.md linguist-generated /.github/workflows/auto-approve.yml linguist-generated +/.github/workflows/auto-queue.yml linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/security.yml linguist-generated @@ -17,7 +18,6 @@ /.github/workflows/upgrade-dev-dependencies.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated diff --git a/.github/workflows/auto-queue.yml b/.github/workflows/auto-queue.yml new file mode 100644 index 0000000..cbe749e --- /dev/null +++ b/.github/workflows/auto-queue.yml @@ -0,0 +1,22 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +name: auto-queue +on: + pull_request_target: + types: + - opened + - reopened + - ready_for_review +jobs: + enableAutoQueue: + name: "Set AutoQueue on PR #${{ github.event.number }}" + runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write + steps: + - uses: peter-evans/enable-pull-request-automerge@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + pull-request-number: ${{ github.event.number }} + merge-method: squash diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12265e6..eeb2872 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index 0864d41..0470db2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ !/.projen/tasks.json !/.projen/deps.json !/.projen/files.json +!/.github/workflows/auto-queue.yml !/.github/workflows/pull-request-lint.yml !/.github/workflows/auto-approve.yml !/package.json @@ -35,7 +36,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ diff --git a/.mergify.yml b/.mergify.yml deleted file mode 100644 index ccb37d6..0000000 --- a/.mergify.yml +++ /dev/null @@ -1,32 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". - -queue_rules: - - name: default - update_method: merge - conditions: - - "#approved-reviews-by>=1" - - -label~=(do-not-merge) - - status-success=build - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go - merge_method: squash - commit_message_template: |- - {{ title }} (#{{ number }}) - - {{ body }} -pull_request_rules: - - name: Automatic merge on approval and successful build - actions: - delete_head_branch: {} - queue: - name: default - conditions: - - "#approved-reviews-by>=1" - - -label~=(do-not-merge) - - status-success=build - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go diff --git a/.npmignore b/.npmignore index f757ad2..15d1e8e 100644 --- a/.npmignore +++ b/.npmignore @@ -4,7 +4,6 @@ junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ diff --git a/.projen/files.json b/.projen/files.json index 8b9651c..938fc38 100644 --- a/.projen/files.json +++ b/.projen/files.json @@ -5,6 +5,7 @@ ".github/ISSUE_TEMPLATE/config.yml", ".github/pull_request_template.md", ".github/workflows/auto-approve.yml", + ".github/workflows/auto-queue.yml", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/security.yml", @@ -15,7 +16,6 @@ ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", diff --git a/package.json b/package.json index 73d0136..7640a38 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "organization": false }, "devDependencies": { - "@cdk8s/projen-common": "^0.0.551", + "@cdk8s/projen-common": "^0.0.552", "@types/jest": "^27", "@types/node": "16.18.78", "@typescript-eslint/eslint-plugin": "^7", diff --git a/yarn.lock b/yarn.lock index 932cdaa..cbf4d93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -284,10 +284,10 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cdk8s/projen-common@^0.0.551": - version "0.0.551" - resolved "https://registry.yarnpkg.com/@cdk8s/projen-common/-/projen-common-0.0.551.tgz#13d60ecabba57bf7d2bcb64394a93295871cf919" - integrity sha512-HKedbjgUkZ2STlXxnN/OJOqqyheKg0PULn7Lt+NKb0mBsyViL7PHtmRwi4CuEmsEBpTZXOwpTiwVfIwWCH65Hw== +"@cdk8s/projen-common@^0.0.552": + version "0.0.552" + resolved "https://registry.yarnpkg.com/@cdk8s/projen-common/-/projen-common-0.0.552.tgz#dfbcc33f5d2533626b2f6d1935388cf1cc67b80e" + integrity sha512-rimArjaiiA7CMB/2oIag8NXL+iRjQ5LSVn9ciasuDFdR9dvGBaO30yZSstiJV80r54XYxgJelm9IXQr7dL1KHw== dependencies: codemaker "^1.104.0" deepmerge "^4.3.1"