From 63717287165f7fc1cae1403a04ab3e31446ff218 Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Mon, 21 Oct 2024 14:54:47 +0100 Subject: [PATCH] feat: default cdk8s repos to use merge queues (#1004) Signed-off-by: Momo Kornher --- .gitattributes | 2 +- .github/workflows/auto-queue.yml | 22 + .github/workflows/build.yml | 1 + .gitignore | 2 +- .mergify.yml | 26 - .npmignore | 1 - .projen/files.json | 2 +- src/projects/github.ts | 22 + src/projects/jsii.ts | 3 + src/projects/node.ts | 26 +- src/projects/typescript.ts | 4 +- test/projects/__snapshots__/jsii.test.ts.snap | 822 ++++++++---------- test/projects/__snapshots__/node.test.ts.snap | 504 ++++++----- .../__snapshots__/typescript.test.ts.snap | 560 ++++++------ 14 files changed, 932 insertions(+), 1065 deletions(-) create mode 100644 .github/workflows/auto-queue.yml delete mode 100644 .mergify.yml create mode 100644 src/projects/github.ts diff --git a/.gitattributes b/.gitattributes index 1a134e26..0ebaddce 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/release.yml linguist-generated @@ -18,7 +19,6 @@ /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.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 00000000..82a918c9 --- /dev/null +++ b/.github/workflows/auto-queue.yml @@ -0,0 +1,22 @@ +# ~~ Generated by projen. To modify, edit .projenrc.ts 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 4ab7d360..54f140a4 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 5dc2b972..8ae5c874 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 @@ -38,7 +39,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ diff --git a/.mergify.yml b/.mergify.yml deleted file mode 100644 index e8c3ed2e..00000000 --- a/.mergify.yml +++ /dev/null @@ -1,26 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.ts 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-js - 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-js diff --git a/.npmignore b/.npmignore index 98db8fca..0e959460 100644 --- a/.npmignore +++ b/.npmignore @@ -6,7 +6,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ diff --git a/.projen/files.json b/.projen/files.json index c671eb4e..4e65f561 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/release.yml", @@ -16,7 +17,6 @@ ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", diff --git a/src/projects/github.ts b/src/projects/github.ts new file mode 100644 index 00000000..124b0600 --- /dev/null +++ b/src/projects/github.ts @@ -0,0 +1,22 @@ +import { github } from 'projen'; +import { Cdk8sTeamNodeProjectOptions } from './node'; + +/** + * Subset of options that have default values for all cdk8s-team GitHub projects. + * These will be available for customization by individual projects. + */ +export const defaultOptionsKeys = [ + 'mergify', + 'mergeQueue', +] as const; +export type defaultOptionsKeysType = typeof defaultOptionsKeys[number]; + +/** + * Create the default GitHub project options. + */ +export function buildGitHubDefaultOptions(options: Cdk8sTeamNodeProjectOptions): Pick { + return { + mergify: options.githubOptions?.mergify ?? false, + mergeQueue: options.githubOptions?.mergeQueue ?? true, + }; +} diff --git a/src/projects/jsii.ts b/src/projects/jsii.ts index 5350b482..ca2ce0a2 100644 --- a/src/projects/jsii.ts +++ b/src/projects/jsii.ts @@ -1,6 +1,7 @@ import * as maker from 'codemaker'; import * as deepmerge from 'deepmerge'; import { DependencyType, cdk } from 'projen'; +import * as github from './github'; import * as node from './node'; import * as ts from './typescript'; import { Backport } from '../components/backport/backport'; @@ -73,6 +74,7 @@ export class Cdk8sTeamJsiiProject extends cdk.JsiiProject { const fixedNodeOptions = node.buildNodeProjectFixedOptions(options); const defaultNodeOptions = node.buildNodeProjectDefaultOptions(options); + const defaultGitHubOptions = github.buildGitHubDefaultOptions(options); const repoName = options.repoName ?? node.buildRepositoryName(options.name); const golangBranch = options.golangBranch ?? 'main'; @@ -91,6 +93,7 @@ export class Cdk8sTeamJsiiProject extends cdk.JsiiProject { publishToGo: golang ? golangTarget(repoName, golangBranch) : undefined, ...fixedNodeOptions, ...defaultNodeOptions, + githubOptions: defaultGitHubOptions, }, options]) as cdk.JsiiProjectOptions; super(finalOptions); diff --git a/src/projects/node.ts b/src/projects/node.ts index f43f7c2e..d70cf5ff 100644 --- a/src/projects/node.ts +++ b/src/projects/node.ts @@ -1,6 +1,6 @@ import * as deepmerge from 'deepmerge'; import { DependencyType, JsonPatch, Project, ReleasableCommits, javascript } from 'projen'; -import { NodeProject, NodeProjectOptions, UpgradeDependencies, UpgradeDependenciesOptions, UpgradeDependenciesSchedule } from 'projen/lib/javascript'; +import * as github from './github'; import { Backport } from '../components/backport/backport'; import { CodeOfConductMD } from '../components/code-of-conduct/code-of-conduct'; import { DCO } from '../components/dco/devco'; @@ -87,7 +87,7 @@ export function buildNodeProjectFixedOptions(options: Cdk8sTeamNodeProjectOption */ export function buildNodeProjectDefaultOptions(options: Cdk8sTeamNodeProjectOptions): Pick { - const depsUpgradeOptions: UpgradeDependenciesOptions = { + const depsUpgradeOptions: javascript.UpgradeDependenciesOptions = { taskName: 'upgrade-runtime-dependencies', pullRequestTitle: 'upgrade runtime dependencies', // only include plain dependency because we will created a non release triggering PR for the rest @@ -97,7 +97,7 @@ export function buildNodeProjectDefaultOptions(options: Cdk8sTeamNodeProjectOpti // them without also upgrading devDependencies. types: [DependencyType.RUNTIME, DependencyType.OPTIONAL, DependencyType.BUNDLED], workflowOptions: { - schedule: UpgradeDependenciesSchedule.expressions([UPGRADE_RUNTIME_DEPENDENCIES_SCHEDULE]), + schedule: javascript.UpgradeDependenciesSchedule.expressions([UPGRADE_RUNTIME_DEPENDENCIES_SCHEDULE]), }, }; @@ -167,11 +167,13 @@ export class Cdk8sTeamNodeProject extends javascript.NodeProject { const fixedOptions = buildNodeProjectFixedOptions(options); const defaultOptions = buildNodeProjectDefaultOptions(options); + const defaultGitHubOptions = github.buildGitHubDefaultOptions(options); - const finalOptions: NodeProjectOptions = deepmerge.all([{ + const finalOptions: javascript.NodeProjectOptions = deepmerge.all([{ ...fixedOptions, ...defaultOptions, - }, options]) as NodeProjectOptions; + githubOptions: defaultGitHubOptions, + }, options]) as javascript.NodeProjectOptions; super(finalOptions); @@ -250,7 +252,7 @@ export interface CommonComponentsOptions { /** * Add common components to the project. */ -export function addComponents(project: NodeProject, repoName: string, options: CommonComponentsOptions) { +export function addComponents(project: javascript.NodeProject, repoName: string, options: CommonComponentsOptions) { new CodeOfConductMD(project); new DCO(project); @@ -265,7 +267,7 @@ export function addComponents(project: NodeProject, repoName: string, options: C configDeps.push('@cdk8s/projen-common'); } - new UpgradeDependencies(project, { + new javascript.UpgradeDependencies(project, { include: configDeps, taskName: 'upgrade-configuration', pullRequestTitle: 'upgrade configuration', @@ -273,31 +275,31 @@ export function addComponents(project: NodeProject, repoName: string, options: C workflowOptions: { branches: options.branches, labels: ['auto-approve'], - schedule: UpgradeDependenciesSchedule.expressions([UPGRADE_CONFIGURATION_SCHEDULE]), + schedule: javascript.UpgradeDependenciesSchedule.expressions([UPGRADE_CONFIGURATION_SCHEDULE]), }, }); - new UpgradeDependencies(project, { + new javascript.UpgradeDependencies(project, { exclude: [...configDeps, ...(options.compilerDeps ?? [])], taskName: 'upgrade-dev-dependencies', pullRequestTitle: 'upgrade dev dependencies', workflowOptions: { branches: options.branches, labels: ['auto-approve'], - schedule: UpgradeDependenciesSchedule.expressions([UPGRADE_DEV_DEPENDENCIES_SCHEDULE]), + schedule: javascript.UpgradeDependenciesSchedule.expressions([UPGRADE_DEV_DEPENDENCIES_SCHEDULE]), }, types: [DependencyType.BUILD, DependencyType.BUNDLED, DependencyType.DEVENV, DependencyType.TEST], }); if (options.compilerDeps && options.compilerDeps.length > 0) { - new UpgradeDependencies(project, { + new javascript.UpgradeDependencies(project, { include: options.compilerDeps, taskName: 'upgrade-compiler-dependencies', pullRequestTitle: 'upgrade compiler dependencies', workflowOptions: { branches: options.branches, labels: ['auto-approve'], - schedule: UpgradeDependenciesSchedule.expressions([UPGRADE_COMPILER_DEPENDENCIES_SCHEDULE]), + schedule: javascript.UpgradeDependenciesSchedule.expressions([UPGRADE_COMPILER_DEPENDENCIES_SCHEDULE]), }, types: [DependencyType.BUILD], }); diff --git a/src/projects/typescript.ts b/src/projects/typescript.ts index 9af22f95..794e4f69 100644 --- a/src/projects/typescript.ts +++ b/src/projects/typescript.ts @@ -1,5 +1,6 @@ import * as deepmerge from 'deepmerge'; import { DependencyType, typescript } from 'projen'; +import * as github from './github'; import * as node from './node'; import { TriageOptions } from '../components'; import { Backport } from '../components/backport/backport'; @@ -58,10 +59,12 @@ export class Cdk8sTeamTypeScriptProject extends typescript.TypeScriptProject { const fixedNodeOptions = node.buildNodeProjectFixedOptions(options); const defaultNodeOptions = node.buildNodeProjectDefaultOptions(options); + const defaultGitHubOptions = github.buildGitHubDefaultOptions(options); const finalOptions = deepmerge.all([{ ...fixedNodeOptions, ...defaultNodeOptions, + githubOptions: defaultGitHubOptions, }, options]) as typescript.TypeScriptProjectOptions; super(finalOptions); @@ -87,6 +90,5 @@ export class Cdk8sTeamTypeScriptProject extends typescript.TypeScriptProject { this.deps.addDependency('@types/node@16.18.78', DependencyType.BUILD); node.limitReleaseConcurrency(this); - } } diff --git a/test/projects/__snapshots__/jsii.test.ts.snap b/test/projects/__snapshots__/jsii.test.ts.snap index 33d35283..9615ffdf 100644 --- a/test/projects/__snapshots__/jsii.test.ts.snap +++ b/test/projects/__snapshots__/jsii.test.ts.snap @@ -242,6 +242,7 @@ Object { /.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/release.yml linguist-generated @@ -253,7 +254,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -309,6 +309,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -316,6 +339,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -1375,6 +1399,7 @@ jobs: !/.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 @@ -1410,7 +1435,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -1436,41 +1460,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -1480,7 +1469,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -1615,6 +1603,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -1626,7 +1615,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -2798,6 +2786,7 @@ Object { /.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/backport.yml linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated @@ -2810,7 +2799,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -2866,6 +2854,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/backport.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -2905,6 +2916,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -3964,6 +3976,7 @@ jobs: !/.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 @@ -3999,7 +4012,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -4027,41 +4039,6 @@ tsconfig.json !/.backportrc.json !/.github/workflows/backport.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -4071,7 +4048,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -4211,6 +4187,7 @@ tsconfig.tsbuildinfo ".github/ISSUE_TEMPLATE/config.yml", ".github/pull_request_template.md", ".github/workflows/auto-approve.yml", + ".github/workflows/auto-queue.yml", ".github/workflows/backport.yml", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", @@ -4223,7 +4200,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -5442,6 +5418,7 @@ Object { /.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 @@ -5452,7 +5429,6 @@ Object { /.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 @@ -5508,6 +5484,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -5515,6 +5514,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -6064,6 +6064,7 @@ jobs: !/.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 @@ -6096,7 +6097,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -6122,31 +6122,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -6154,7 +6129,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -6284,6 +6258,7 @@ tsconfig.tsbuildinfo ".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", @@ -6294,7 +6269,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -7312,6 +7286,7 @@ Object { /.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 @@ -7322,7 +7297,6 @@ Object { /.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 @@ -7378,6 +7352,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -7385,6 +7382,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -8092,6 +8090,7 @@ jobs: !/.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 @@ -8124,7 +8123,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -8150,39 +8148,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -8190,7 +8155,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -8320,6 +8284,7 @@ tsconfig.tsbuildinfo ".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", @@ -8330,7 +8295,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -9419,6 +9383,7 @@ Object { /.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 @@ -9429,7 +9394,6 @@ Object { /.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 @@ -9485,6 +9449,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -9492,6 +9479,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -10041,6 +10029,7 @@ jobs: !/.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 @@ -10073,7 +10062,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -10099,31 +10087,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -10131,7 +10094,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -10261,6 +10223,7 @@ tsconfig.tsbuildinfo ".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", @@ -10271,7 +10234,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -11289,6 +11251,7 @@ Object { /.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 @@ -11299,7 +11262,6 @@ Object { /.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 @@ -11355,6 +11317,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -11362,6 +11347,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -12069,6 +12055,7 @@ jobs: !/.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 @@ -12101,7 +12088,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -12127,39 +12113,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -12167,7 +12120,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -12297,6 +12249,7 @@ tsconfig.tsbuildinfo ".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", @@ -12307,7 +12260,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -13396,6 +13348,7 @@ Object { /.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 @@ -13406,7 +13359,6 @@ Object { /.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 @@ -13462,6 +13414,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -13469,6 +13444,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -14018,6 +13994,7 @@ jobs: !/.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 @@ -14050,7 +14027,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -14076,31 +14052,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -14108,7 +14059,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -14238,6 +14188,7 @@ tsconfig.tsbuildinfo ".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", @@ -14248,7 +14199,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -15263,6 +15213,7 @@ Object { /.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 @@ -15273,7 +15224,6 @@ Object { /.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 @@ -15329,6 +15279,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -15336,6 +15309,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -16043,6 +16017,7 @@ jobs: !/.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 @@ -16075,7 +16050,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -16101,39 +16075,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -16141,7 +16082,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -16271,6 +16211,7 @@ tsconfig.tsbuildinfo ".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", @@ -16281,7 +16222,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -17367,6 +17307,7 @@ Object { /.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/release.yml linguist-generated @@ -17378,7 +17319,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -17434,6 +17374,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -17441,6 +17404,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -18500,6 +18464,7 @@ jobs: !/.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 @@ -18535,7 +18500,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -18561,41 +18525,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -18605,7 +18534,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -18740,6 +18668,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -18751,7 +18680,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -19905,6 +19833,7 @@ Object { /.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/release.yml linguist-generated @@ -19916,7 +19845,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -19972,6 +19900,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -19979,6 +19930,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -21038,6 +20990,7 @@ jobs: !/.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 @@ -21073,7 +21026,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -21099,41 +21051,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -21143,7 +21060,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -21278,6 +21194,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -21289,7 +21206,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -22443,6 +22359,7 @@ Object { /.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/release.yml linguist-generated @@ -22454,7 +22371,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -22510,6 +22426,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -22517,6 +22456,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -23574,6 +23514,7 @@ jobs: !/.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 @@ -23609,7 +23550,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -23635,41 +23575,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -23679,7 +23584,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -23814,6 +23718,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -23825,7 +23730,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -24978,6 +24882,7 @@ Object { /.github/ISSUE_TEMPLATE/feature-request.md 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/release.yml linguist-generated @@ -24989,7 +24894,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -25142,6 +25046,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -25149,6 +25076,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -26208,6 +26136,7 @@ jobs: !/.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 @@ -26243,7 +26172,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -26271,41 +26199,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -26315,7 +26208,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -26452,6 +26344,7 @@ tsconfig.tsbuildinfo ".github/ISSUE_TEMPLATE/feature-request.md", ".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/release.yml", @@ -26463,7 +26356,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", @@ -27617,6 +27509,7 @@ Object { /.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/release.yml linguist-generated @@ -27628,7 +27521,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -27684,6 +27576,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -27691,6 +27606,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -28750,6 +28666,7 @@ jobs: !/.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 @@ -28785,7 +28702,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -28811,41 +28727,6 @@ tsconfig.json !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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-js - - 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-js - - status-success=package-java - - status-success=package-python - - status-success=package-dotnet - - status-success=package-go ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -28855,7 +28736,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -28990,6 +28870,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -29001,7 +28882,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".projen/deps.json", ".projen/files.json", ".projen/tasks.json", diff --git a/test/projects/__snapshots__/node.test.ts.snap b/test/projects/__snapshots__/node.test.ts.snap index adb7ff5c..d52c7df9 100644 --- a/test/projects/__snapshots__/node.test.ts.snap +++ b/test/projects/__snapshots__/node.test.ts.snap @@ -28,6 +28,7 @@ Object { /.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/backport.yml linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated @@ -39,7 +40,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -93,6 +93,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/backport.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -132,6 +155,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -689,6 +713,7 @@ jobs: !/.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 @@ -724,7 +749,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -742,31 +766,6 @@ junit.xml !/.backportrc.json !/.github/workflows/backport.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -776,7 +775,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -820,6 +818,7 @@ permissions-backup.acl ".github/ISSUE_TEMPLATE/config.yml", ".github/pull_request_template.md", ".github/workflows/auto-approve.yml", + ".github/workflows/auto-queue.yml", ".github/workflows/backport.yml", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", @@ -831,7 +830,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -1563,6 +1561,7 @@ Object { /.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 @@ -1572,7 +1571,6 @@ Object { /.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 @@ -1626,6 +1624,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -1633,6 +1654,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -2092,6 +2114,7 @@ jobs: !/.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 @@ -2124,7 +2147,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -2140,31 +2162,6 @@ junit.xml !/.github/workflows/upgrade-configuration.yml !/.github/workflows/upgrade-dev-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -2172,7 +2169,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -2206,6 +2202,7 @@ permissions-backup.acl ".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", @@ -2215,7 +2212,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -2817,6 +2813,7 @@ Object { /.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 @@ -2826,7 +2823,6 @@ Object { /.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 @@ -2880,6 +2876,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -2887,6 +2906,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -3346,6 +3366,7 @@ jobs: !/.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 @@ -3378,7 +3399,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -3394,31 +3414,6 @@ junit.xml !/.github/workflows/upgrade-configuration.yml !/.github/workflows/upgrade-dev-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -3426,7 +3421,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -3460,6 +3454,7 @@ permissions-backup.acl ".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", @@ -3469,7 +3464,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -4071,6 +4065,7 @@ Object { /.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 @@ -4080,7 +4075,6 @@ Object { /.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 @@ -4134,6 +4128,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -4141,6 +4158,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -4600,6 +4618,7 @@ jobs: !/.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 @@ -4632,7 +4651,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -4648,31 +4666,6 @@ junit.xml !/.github/workflows/upgrade-configuration.yml !/.github/workflows/upgrade-dev-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -4680,7 +4673,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -4714,6 +4706,7 @@ permissions-backup.acl ".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", @@ -4723,7 +4716,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -5322,6 +5314,7 @@ Object { /.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/release.yml linguist-generated @@ -5332,7 +5325,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -5386,6 +5378,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -5393,6 +5408,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -5950,6 +5966,7 @@ jobs: !/.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 @@ -5985,7 +6002,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -6001,31 +6017,6 @@ junit.xml !/.github/workflows/upgrade-configuration-main.yml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -6035,7 +6026,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -6074,6 +6064,7 @@ permissions-backup.acl ".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/release.yml", @@ -6084,7 +6075,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -6751,6 +6741,7 @@ Object { /.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/release.yml linguist-generated @@ -6761,7 +6752,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -6815,6 +6805,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -6822,6 +6835,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -7379,6 +7393,7 @@ jobs: !/.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 @@ -7414,7 +7429,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -7430,31 +7444,6 @@ junit.xml !/.github/workflows/upgrade-configuration-main.yml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -7464,7 +7453,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -7503,6 +7491,7 @@ permissions-backup.acl ".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/release.yml", @@ -7513,7 +7502,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -8180,6 +8168,7 @@ Object { /.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/release.yml linguist-generated @@ -8190,7 +8179,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -8244,6 +8232,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -8251,6 +8262,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -8808,6 +8820,7 @@ jobs: !/.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 @@ -8843,7 +8856,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -8859,31 +8871,6 @@ junit.xml !/.github/workflows/upgrade-configuration-main.yml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -8893,7 +8880,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -8932,6 +8918,7 @@ permissions-backup.acl ".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/release.yml", @@ -8942,7 +8929,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -9608,6 +9594,7 @@ Object { /.github/ISSUE_TEMPLATE/feature-request.md 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/release.yml linguist-generated @@ -9618,7 +9605,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -9769,6 +9755,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -9776,6 +9785,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -10333,6 +10343,7 @@ jobs: !/.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 @@ -10368,7 +10379,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -10386,31 +10396,6 @@ junit.xml !/.github/workflows/upgrade-configuration-main.yml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -10420,7 +10405,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -10461,6 +10445,7 @@ permissions-backup.acl ".github/ISSUE_TEMPLATE/feature-request.md", ".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/release.yml", @@ -10471,7 +10456,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -11138,6 +11122,7 @@ Object { /.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/release.yml linguist-generated @@ -11148,7 +11133,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -11202,6 +11186,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -11209,6 +11216,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -11766,6 +11774,7 @@ jobs: !/.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 @@ -11801,7 +11810,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/CODE_OF_CONDUCT.md @@ -11817,31 +11825,6 @@ junit.xml !/.github/workflows/upgrade-configuration-main.yml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -11851,7 +11834,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /.projenrc.js /.gitattributes ", @@ -11890,6 +11872,7 @@ permissions-backup.acl ".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/release.yml", @@ -11900,7 +11883,6 @@ permissions-backup.acl ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/projects/__snapshots__/typescript.test.ts.snap b/test/projects/__snapshots__/typescript.test.ts.snap index 37dc72c2..af2bd49e 100644 --- a/test/projects/__snapshots__/typescript.test.ts.snap +++ b/test/projects/__snapshots__/typescript.test.ts.snap @@ -242,6 +242,7 @@ Object { /.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/release.yml linguist-generated @@ -253,7 +254,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -309,6 +309,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -316,6 +339,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -967,6 +991,7 @@ jobs: !/.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 @@ -1002,7 +1027,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -1026,31 +1050,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -1060,7 +1059,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -1153,6 +1151,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -1164,7 +1163,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -2233,6 +2231,7 @@ Object { /.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/backport.yml linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated @@ -2245,7 +2244,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -2301,6 +2299,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/backport.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -2340,6 +2361,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -2991,6 +3013,7 @@ jobs: !/.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 @@ -3026,7 +3049,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -3052,31 +3074,6 @@ junit.xml !/.backportrc.json !/.github/workflows/backport.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -3086,7 +3083,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -3184,6 +3180,7 @@ tsconfig.tsbuildinfo ".github/ISSUE_TEMPLATE/config.yml", ".github/pull_request_template.md", ".github/workflows/auto-approve.yml", + ".github/workflows/auto-queue.yml", ".github/workflows/backport.yml", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", @@ -3196,7 +3193,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -4312,6 +4308,7 @@ Object { /.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 @@ -4322,7 +4319,6 @@ Object { /.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 @@ -4378,6 +4374,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -4385,6 +4404,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -4934,6 +4954,7 @@ jobs: !/.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 @@ -4966,7 +4987,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -4990,31 +5010,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -5022,7 +5017,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -5110,6 +5104,7 @@ tsconfig.tsbuildinfo ".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", @@ -5120,7 +5115,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -6106,6 +6100,7 @@ Object { /.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 @@ -6116,7 +6111,6 @@ Object { /.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 @@ -6172,6 +6166,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -6179,6 +6196,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -6728,6 +6746,7 @@ jobs: !/.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 @@ -6760,7 +6779,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -6784,31 +6802,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -6816,7 +6809,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -6904,6 +6896,7 @@ tsconfig.tsbuildinfo ".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", @@ -6914,7 +6907,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -7897,6 +7889,7 @@ Object { /.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 @@ -7907,7 +7900,6 @@ Object { /.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 @@ -7963,6 +7955,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -7970,6 +7985,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -8519,6 +8535,7 @@ jobs: !/.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 @@ -8551,7 +8568,6 @@ jspm_packages/ junit.xml /coverage/ !/.github/workflows/build.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies.yml !/.github/pull_request_template.md !/test/ @@ -8575,31 +8591,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies.yml !/.github/workflows/upgrade-compiler-dependencies.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -8607,7 +8598,6 @@ pull_request_rules: junit.xml /coverage/ permissions-backup.acl -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -8695,6 +8685,7 @@ tsconfig.tsbuildinfo ".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", @@ -8705,7 +8696,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies.yml", ".github/workflows/upgrade-runtime-dependencies.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -9691,6 +9681,7 @@ Object { /.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/release.yml linguist-generated @@ -9702,7 +9693,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -9758,6 +9748,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -9765,6 +9778,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -10416,6 +10430,7 @@ jobs: !/.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 @@ -10451,7 +10466,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -10475,31 +10489,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -10509,7 +10498,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -10602,6 +10590,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -10613,7 +10602,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -11664,6 +11652,7 @@ Object { /.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/release.yml linguist-generated @@ -11675,7 +11664,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -11731,6 +11719,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -11738,6 +11749,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -12389,6 +12401,7 @@ jobs: !/.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 @@ -12424,7 +12437,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -12448,31 +12460,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -12482,7 +12469,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -12575,6 +12561,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -12586,7 +12573,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -13634,6 +13620,7 @@ Object { /.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/release.yml linguist-generated @@ -13645,7 +13632,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -13701,6 +13687,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -13708,6 +13717,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -14359,6 +14369,7 @@ jobs: !/.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 @@ -14394,7 +14405,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -14418,31 +14428,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -14452,7 +14437,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -14545,6 +14529,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -14556,7 +14541,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -15609,6 +15593,7 @@ Object { /.github/ISSUE_TEMPLATE/feature-request.md 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/release.yml linguist-generated @@ -15620,7 +15605,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -15773,6 +15757,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -15780,6 +15787,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -16431,6 +16439,7 @@ jobs: !/.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 @@ -16466,7 +16475,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -16492,31 +16500,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -16526,7 +16509,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -16621,6 +16603,7 @@ tsconfig.tsbuildinfo ".github/ISSUE_TEMPLATE/feature-request.md", ".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/release.yml", @@ -16632,7 +16615,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json", @@ -17683,6 +17665,7 @@ Object { /.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/release.yml linguist-generated @@ -17694,7 +17677,6 @@ Object { /.github/workflows/upgrade-dev-dependencies-main.yml linguist-generated /.github/workflows/upgrade-runtime-dependencies-main.yml linguist-generated /.gitignore linguist-generated -/.mergify.yml linguist-generated /.npmignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -17750,6 +17732,29 @@ jobs: - uses: hmarr/auto-approve-action@v2.2.1 with: github-token: \${{ secrets.GITHUB_TOKEN }} +", + ".github/workflows/auto-queue.yml": "# ~~ 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 ", ".github/workflows/build.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -17757,6 +17762,7 @@ name: build on: pull_request: {} workflow_dispatch: {} + merge_group: {} jobs: build: runs-on: ubuntu-latest @@ -18408,6 +18414,7 @@ jobs: !/.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 @@ -18443,7 +18450,6 @@ junit.xml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml -!/.mergify.yml !/.github/workflows/upgrade-runtime-dependencies-main.yml !/.github/pull_request_template.md !/test/ @@ -18467,31 +18473,6 @@ junit.xml !/.github/workflows/upgrade-dev-dependencies-main.yml !/.github/workflows/upgrade-compiler-dependencies-main.yml !/.projenrc.js -", - ".mergify.yml": "# ~~ 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 - 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 ", ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". /.projen/ @@ -18501,7 +18482,6 @@ junit.xml permissions-backup.acl /dist/changelog.md /dist/version.txt -/.mergify.yml /test/ /tsconfig.dev.json /src/ @@ -18594,6 +18574,7 @@ tsconfig.tsbuildinfo ".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/release.yml", @@ -18605,7 +18586,6 @@ tsconfig.tsbuildinfo ".github/workflows/upgrade-dev-dependencies-main.yml", ".github/workflows/upgrade-runtime-dependencies-main.yml", ".gitignore", - ".mergify.yml", ".npmignore", ".projen/deps.json", ".projen/files.json",