diff --git a/.gitattributes b/.gitattributes index 0d6d40beb32..fa6c788baa5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,7 +9,6 @@ /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade-main.yml linguist-generated /.gitignore linguist-generated /.gitpod.yml linguist-generated diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index e6dc1b2c9ac..00000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,30 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label. - stale-issue-label: stale - exempt-issue-labels: backlog diff --git a/.gitignore b/.gitignore index 542fe4931ba..821c3e029cb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ !/.gitpod.yml !/.devcontainer.json !/.github/workflows/auto-approve.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore diff --git a/.projen/files.json b/.projen/files.json index c0f450af860..11e0ce770db 100644 --- a/.projen/files.json +++ b/.projen/files.json @@ -8,7 +8,6 @@ ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade-main.yml", ".gitignore", ".gitpod.yml", diff --git a/docs/api/API.md b/docs/api/API.md index 02a877edb44..407d5cdeab7 100644 --- a/docs/api/API.md +++ b/docs/api/API.md @@ -3034,7 +3034,7 @@ new awscdk.AwsCdkConstructLibrary(options: AwsCdkConstructLibraryOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -3440,7 +3440,7 @@ new awscdk.AwsCdkJavaApp(options: AwsCdkJavaAppOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **artifactId** (string) The artifactId is generally the name that the project is known by. @@ -3546,7 +3546,7 @@ new awscdk.AwsCdkPythonApp(options: AwsCdkPythonAppOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **authorEmail** (string) Author's e-mail. @@ -3642,7 +3642,7 @@ new awscdk.AwsCdkTypeScriptApp(options: AwsCdkTypeScriptAppOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -3916,7 +3916,7 @@ new awscdk.ConstructLibraryAws(options: AwsCdkConstructLibraryOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -4488,7 +4488,7 @@ new cdk.ConstructLibrary(options: ConstructLibraryOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -4741,7 +4741,7 @@ new cdk.JsiiProject(options: JsiiProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -4940,7 +4940,7 @@ new cdk8s.Cdk8sTypeScriptApp(options: Cdk8sTypeScriptAppOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -5117,7 +5117,7 @@ new cdk8s.ConstructLibraryCdk8s(options: ConstructLibraryCdk8sOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -5353,7 +5353,7 @@ new cdktf.ConstructLibraryCdktf(options: ConstructLibraryCdktfOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -5791,7 +5791,7 @@ new github.GitHubProject(options: GitHubProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true @@ -6424,7 +6424,7 @@ new java.JavaProject(options: JavaProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **artifactId** (string) The artifactId is generally the name that the project is known by. @@ -7413,7 +7413,7 @@ new javascript.NodeProject(options: NodeProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -8451,7 +8451,7 @@ new python.PythonProject(options: PythonProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **authorEmail** (string) Author's e-mail. @@ -9210,7 +9210,7 @@ new typescript.TypeScriptAppProject(options: TypeScriptProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -9361,7 +9361,7 @@ new typescript.TypeScriptLibraryProject(options: TypeScriptProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -9512,7 +9512,7 @@ new typescript.TypeScriptProject(options: TypeScriptProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -9908,7 +9908,7 @@ new web.NextJsProject(options: NextJsProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -10057,7 +10057,7 @@ new web.NextJsTypeScriptProject(options: NextJsTypeScriptProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -10278,7 +10278,7 @@ new web.ReactProject(options: ReactProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -10469,7 +10469,7 @@ new web.ReactTypeScriptProject(options: ReactTypeScriptProjectOptions) * **projectType** ([ProjectType](#projen-projecttype)) Which type of project this is (library/app). __*Default*__: ProjectType.UNKNOWN * **projenTokenSecret** (string) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. __*Default*__: "PROJEN_GITHUB_TOKEN" * **readme** ([SampleReadmeProps](#projen-samplereadmeprops)) The README setup. __*Default*__: { filename: 'README.md', contents: '# replace this' } - * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: true + * **stale** (boolean) Auto-close of stale issues and pull request. __*Default*__: false * **staleOptions** ([github.StaleOptions](#projen-github-staleoptions)) Auto-close stale issues and pull requests. __*Default*__: see defaults in `StaleOptions` * **vscode** (boolean) Enable VSCode integration. __*Default*__: true * **allowLibraryDependencies** (boolean) Allow the project to include `peerDependencies` and `bundledDependencies`. __*Default*__: true @@ -11713,7 +11713,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -11828,7 +11828,7 @@ Name | Type | Description **requireApproval**?🔹 | [awscdk.ApprovalLevel](#projen-awscdk-approvallevel) | To protect you against unintended changes that affect your security posture, the AWS CDK Toolkit prompts you to approve security-related changes before deploying them.
__*Default*__: ApprovalLevel.BROADENING **sample**?🔹 | boolean | Include sample code and test if the relevant directories don't exist.
__*Default*__: true **sampleJavaPackage**?🔹 | string | The java package to use for the code sample.
__*Default*__: "org.acme" -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testDeps**?🔹 | Array | List of test dependencies for this project.
__*Default*__: [] **url**?🔹 | string | The URL, like the name, is not required.
__*Default*__: undefined @@ -11918,7 +11918,7 @@ Name | Type | Description **sample**?🔹 | boolean | Include sample code and test if the relevant directories don't exist.
__*Default*__: true **setupConfig**?🔹 | Map | Additional fields to pass in the setup() function if using setuptools.
__*Optional*__ **setuptools**?🔹 | boolean | Use setuptools with a setup.py script for packaging and publishing.
__*Default*__: true if the project type is library -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Python sources directory.
__*Default*__: "tests" **venv**?🔹 | boolean | Use venv to manage a virtual environment for installing dependencies inside.
__*Default*__: true @@ -12071,7 +12071,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -12280,7 +12280,7 @@ Name | Type | Description **scripts**?⚠️ | Map | npm scripts to include.
__*Default*__: {} **srcdir**?⚠️ | string | Typescript sources directory.
__*Default*__: "src" **stability**?⚠️ | string | Package's Stability.
__*Optional*__ -**stale**?⚠️ | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?⚠️ | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?⚠️ | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?⚠️ | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?⚠️ | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -12667,7 +12667,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -12926,7 +12926,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -13112,7 +13112,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -13274,7 +13274,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -13461,7 +13461,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -13608,7 +13608,7 @@ Name | Type | Description **projenrcJson**?🔹 | boolean | Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation.
__*Default*__: false **projenrcJsonOptions**?🔹 | [ProjenrcOptions](#projen-projenrcoptions) | Options for .projenrc.json.
__*Default*__: default options **readme**?🔹 | [SampleReadmeProps](#projen-samplereadmeprops) | The README setup.
__*Default*__: { filename: 'README.md', contents: '# replace this' } -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **vscode**?🔹 | boolean | Enable VSCode integration.
__*Default*__: true @@ -14413,7 +14413,7 @@ Name | Type | Description **projenrcJson**?🔹 | boolean | Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation.
__*Default*__: false **projenrcJsonOptions**?🔹 | [ProjenrcOptions](#projen-projenrcoptions) | Options for .projenrc.json.
__*Default*__: default options **readme**?🔹 | [SampleReadmeProps](#projen-samplereadmeprops) | The README setup.
__*Default*__: { filename: 'README.md', contents: '# replace this' } -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testDeps**?🔹 | Array | List of test dependencies for this project.
__*Default*__: [] **url**?🔹 | string | The URL, like the name, is not required.
__*Default*__: undefined @@ -14464,7 +14464,7 @@ Name | Type | Description **readme**?🔹 | [SampleReadmeProps](#projen-samplereadmeprops) | The README setup.
__*Default*__: { filename: 'README.md', contents: '# replace this' } **sample**?🔹 | boolean | Include sample code and test if the relevant directories don't exist.
__*Default*__: true **sampleJavaPackage**?🔹 | string | The java package to use for the code sample.
__*Default*__: "org.acme" -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testDeps**?🔹 | Array | List of test dependencies for this project.
__*Default*__: [] **url**?🔹 | string | The URL, like the name, is not required.
__*Default*__: undefined @@ -14997,7 +14997,7 @@ Name | Type | Description **repositoryDirectory**?🔹 | string | If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives.
__*Optional*__ **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **versionrcOptions**?🔹 | Map | Custom configuration used when creating changelog with standard-version package.
__*Default*__: standard configuration applicable for GitHub repositories **vscode**?🔹 | boolean | Enable VSCode integration.
__*Default*__: true @@ -15509,7 +15509,7 @@ Name | Type | Description **sample**?🔹 | boolean | Include sample code and test if the relevant directories don't exist.
__*Default*__: true **setupConfig**?🔹 | Map | Additional fields to pass in the setup() function if using setuptools.
__*Optional*__ **setuptools**?🔹 | boolean | Use setuptools with a setup.py script for packaging and publishing.
__*Default*__: true if the project type is library -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **venv**?🔹 | boolean | Use venv to manage a virtual environment for installing dependencies inside.
__*Default*__: true **venvOptions**?🔹 | [python.VenvOptions](#projen-python-venvoptions) | Venv options.
__*Default*__: defaults @@ -16070,7 +16070,7 @@ Name | Type | Description **scripts**?⚠️ | Map | npm scripts to include.
__*Default*__: {} **srcdir**?⚠️ | string | Typescript sources directory.
__*Default*__: "src" **stability**?⚠️ | string | Package's Stability.
__*Optional*__ -**stale**?⚠️ | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?⚠️ | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?⚠️ | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?⚠️ | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?⚠️ | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -16211,7 +16211,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options @@ -16448,7 +16448,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **tailwind**?🔹 | boolean | Setup Tailwind CSS as a PostCSS plugin.
__*Default*__: true **versionrcOptions**?🔹 | Map | Custom configuration used when creating changelog with standard-version package.
__*Default*__: standard configuration applicable for GitHub repositories @@ -16586,7 +16586,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **tailwind**?🔹 | boolean | Setup Tailwind CSS as a PostCSS plugin.
__*Default*__: true **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" @@ -16749,7 +16749,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Source directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **versionrcOptions**?🔹 | Map | Custom configuration used when creating changelog with standard-version package.
__*Default*__: standard configuration applicable for GitHub repositories **vscode**?🔹 | boolean | Enable VSCode integration.
__*Default*__: true @@ -16916,7 +16916,7 @@ Name | Type | Description **scripts**?🔹 | Map | npm scripts to include.
__*Default*__: {} **srcdir**?🔹 | string | Typescript sources directory.
__*Default*__: "src" **stability**?🔹 | string | Package's Stability.
__*Optional*__ -**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: true +**stale**?🔹 | boolean | Auto-close of stale issues and pull request.
__*Default*__: false **staleOptions**?🔹 | [github.StaleOptions](#projen-github-staleoptions) | Auto-close stale issues and pull requests.
__*Default*__: see defaults in `StaleOptions` **testdir**?🔹 | string | Jest tests directory. Tests files should be named `xxx.test.ts`.
__*Default*__: "test" **tsconfig**?🔹 | [javascript.TypescriptConfigOptions](#projen-javascript-typescriptconfigoptions) | Custom TSConfig.
__*Default*__: default options diff --git a/docs/github.md b/docs/github.md index adcd6da0d54..55f3d0ef6c4 100644 --- a/docs/github.md +++ b/docs/github.md @@ -4,10 +4,36 @@ By default, many projects are initialized with `GitHub` component to enabled Git The use of GitHub (and generating corresponding files in `.github`) can be disabled by specifying `github: false` in your project options. -### Workflows +## Workflows TODO See the `GitHub`, `GithubWorkflow`, and `Job` types in the [API reference](./api/API.md) for currently available APIs. Example code of creating a GitHub workflow: + +### Stale workflow + +A "stale" workflow can be added which will automatically close issues or pull +requests on your GitHub repository after time has passed without the issue +seeing any comments or updates. You can enable as shown below: + +```ts +// or PythonProject, etc. +new typescript.TypeScriptProject({ + stale: true, + staleOptions: { + issues: { + closeMessage: "closing pull request", + staleLabel: "I-AM-STALE", + daysBeforeStale: 180, + }, + } +}) +``` + +Check the API reference for a list of all available options. + +When enabled, by default issues with no activity with will be marked as stale +after 60 days and closed within 7 days, and pull requests with no activity will +be marked as stale after 14 days and closed within 2 days. diff --git a/src/github/github-project.ts b/src/github/github-project.ts index 2c4c07e7327..823d373bbfe 100644 --- a/src/github/github-project.ts +++ b/src/github/github-project.ts @@ -118,7 +118,7 @@ export interface GitHubProjectOptions extends ProjectOptions { /** * Auto-close of stale issues and pull request. See `staleOptions` for options. * - * @default true + * @default false */ readonly stale?: boolean; @@ -218,7 +218,7 @@ export class GitHubProject extends Project { ); } - const stale = options.stale ?? true; + const stale = options.stale ?? false; if (stale && this.github) { new Stale(this.github, options.staleOptions); } diff --git a/test/__snapshots__/cleanup.test.ts.snap b/test/__snapshots__/cleanup.test.ts.snap index edbbb36c6c9..bf8f1c7a8b7 100644 --- a/test/__snapshots__/cleanup.test.ts.snap +++ b/test/__snapshots__/cleanup.test.ts.snap @@ -10,7 +10,6 @@ exports[`cleanup falls back to greedy method 1`] = ` Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -23,7 +22,6 @@ exports[`cleanup only orphaned files 1`] = ` Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/files.json", ".projen/tasks.json", @@ -35,7 +33,6 @@ exports[`cleanup uses cache file 1`] = ` Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/__snapshots__/integ.test.ts.snap b/test/__snapshots__/integ.test.ts.snap index 30a6ca7a56e..4501957cec2 100644 --- a/test/__snapshots__/integ.test.ts.snap +++ b/test/__snapshots__/integ.test.ts.snap @@ -242,7 +242,6 @@ Object { /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade-master.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated @@ -606,37 +605,6 @@ jobs: env: TWINE_USERNAME: \${{ secrets.TWINE_USERNAME }} TWINE_PASSWORD: \${{ secrets.TWINE_PASSWORD }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade-master.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -737,7 +705,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -1108,7 +1075,6 @@ tsconfig.tsbuildinfo ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade-master.yml", ".gitignore", ".mergify.yml", @@ -2175,7 +2141,6 @@ Object { /.eslintrc.json linguist-generated /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade.yml linguist-generated /.gitignore linguist-generated /.npmignore linguist-generated @@ -2215,37 +2180,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -2343,7 +2277,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -2540,7 +2473,6 @@ tsconfig.tsbuildinfo ".eslintrc.json", ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade.yml", ".gitignore", ".projen/deps.json", @@ -3723,7 +3655,6 @@ Object { /.eslintrc.json linguist-generated /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade.yml linguist-generated /.gitignore linguist-generated /.npmignore linguist-generated @@ -3764,37 +3695,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -3892,7 +3792,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -4086,7 +3985,6 @@ tsconfig.tsbuildinfo ".eslintrc.json", ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade.yml", ".gitignore", ".npmignore", @@ -4943,7 +4841,6 @@ Object { /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade-master.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated @@ -5126,37 +5023,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade-master.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -5257,7 +5123,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -5374,7 +5239,6 @@ junit.xml ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade-master.yml", ".gitignore", ".mergify.yml", diff --git a/test/__snapshots__/inventory.test.ts.snap b/test/__snapshots__/inventory.test.ts.snap index dfcf982bb43..fbb45caee82 100644 --- a/test/__snapshots__/inventory.test.ts.snap +++ b/test/__snapshots__/inventory.test.ts.snap @@ -854,7 +854,7 @@ Array [ "switch": "sample-java-package", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -1953,7 +1953,7 @@ Array [ "switch": "setuptools", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -4515,7 +4515,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -7374,7 +7374,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -9896,7 +9896,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -12595,7 +12595,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -15226,7 +15226,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -16087,7 +16087,7 @@ Array [ "switch": "sample-java-package", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -18512,7 +18512,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -20704,7 +20704,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -22980,7 +22980,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -25138,7 +25138,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -26135,7 +26135,7 @@ Array [ "switch": "setuptools", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -28176,7 +28176,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -30440,7 +30440,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -32771,7 +32771,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { @@ -35102,7 +35102,7 @@ Array [ "switch": "stability", }, Object { - "default": "true", + "default": "false", "docs": "Auto-close of stale issues and pull request.", "featured": false, "fullType": Object { diff --git a/test/awscdk/java-app.test.ts b/test/awscdk/java-app.test.ts index 8037c556db7..fdb2d492b54 100644 --- a/test/awscdk/java-app.test.ts +++ b/test/awscdk/java-app.test.ts @@ -16,7 +16,6 @@ test("happy flow", () => { expect(Object.keys(snapshot)).toStrictEqual([ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/awscdk/python-app.test.ts b/test/awscdk/python-app.test.ts index bf803a3e8bf..1879bd94d7b 100644 --- a/test/awscdk/python-app.test.ts +++ b/test/awscdk/python-app.test.ts @@ -15,7 +15,6 @@ test("create cdk python project", () => { expect(Object.keys(snapshot)).toStrictEqual([ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/github/__snapshots__/stale.test.ts.snap b/test/github/__snapshots__/stale.test.ts.snap index 7d1438be45c..1794814181f 100644 --- a/test/github/__snapshots__/stale.test.ts.snap +++ b/test/github/__snapshots__/stale.test.ts.snap @@ -30,7 +30,7 @@ jobs: " `; -exports[`default project behavior 1`] = ` +exports[`stale enabled 1`] = ` "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". name: stale diff --git a/test/github/stale.test.ts b/test/github/stale.test.ts index b6481a99c3c..f6ba2b99bee 100644 --- a/test/github/stale.test.ts +++ b/test/github/stale.test.ts @@ -7,21 +7,22 @@ const defaults = { stale: 10, close: 11, type: "issue" }; test("default project behavior", () => { const project = new TestProject(); - expect( - synthSnapshot(project)[".github/workflows/stale.yml"] - ).toMatchSnapshot(); + expect(synthSnapshot(project)[".github/workflows/stale.yml"]).toBeUndefined(); }); -test("stale disabled", () => { +test("stale enabled", () => { const project = new TestProject({ - stale: false, + stale: true, }); - expect(synthSnapshot(project)[".github/workflows/stale.yml"]).toBeUndefined(); + expect( + synthSnapshot(project)[".github/workflows/stale.yml"] + ).toMatchSnapshot(); }); test("customizations", () => { const project = new TestProject({ + stale: true, staleOptions: { issues: { enabled: false }, pullRequest: { @@ -39,6 +40,7 @@ test("customizations", () => { test("with custom runner", () => { const project = new TestProject({ + stale: true, staleOptions: { runsOn: ["self-hosted"], }, @@ -121,6 +123,7 @@ describe("renderBehavior()", () => { describe("exempt labels in workflow output", () => { const project = new TestProject({ + stale: true, staleOptions: { issues: { exemptLabels: [] }, pullRequest: { exemptLabels: ["foo", "bar"] }, diff --git a/test/java/__snapshots__/java-project.test.ts.snap b/test/java/__snapshots__/java-project.test.ts.snap index 85fb4244df6..9f7d4fc8f73 100644 --- a/test/java/__snapshots__/java-project.test.ts.snap +++ b/test/java/__snapshots__/java-project.test.ts.snap @@ -6,7 +6,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -41,37 +40,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -80,7 +48,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/pom.xml .classpath .project @@ -212,7 +179,6 @@ dist/java "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -781,7 +747,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -816,37 +781,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -855,7 +789,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/pom.xml .classpath .project @@ -977,7 +910,6 @@ dist/java "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/java/__snapshots__/projenrc.test.ts.snap b/test/java/__snapshots__/projenrc.test.ts.snap index d995ff8a059..5633023cb91 100644 --- a/test/java/__snapshots__/projenrc.test.ts.snap +++ b/test/java/__snapshots__/projenrc.test.ts.snap @@ -18,7 +18,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -53,37 +52,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -92,7 +60,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/pom.xml ", ".projen/deps.json": Object { @@ -115,7 +82,6 @@ node_modules/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -233,7 +199,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -268,37 +233,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -307,7 +241,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/pom.xml ", ".projen/deps.json": Object { @@ -330,7 +263,6 @@ node_modules/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -448,7 +380,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -483,37 +414,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -522,7 +422,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/pom.xml ", ".projen/deps.json": Object { @@ -545,7 +444,6 @@ node_modules/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/json/__snapshots__/projenrc.test.ts.snap b/test/json/__snapshots__/projenrc.test.ts.snap index 06144e2dddf..460b5ac2026 100644 --- a/test/json/__snapshots__/projenrc.test.ts.snap +++ b/test/json/__snapshots__/projenrc.test.ts.snap @@ -6,7 +6,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -40,37 +39,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -79,14 +47,12 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml ", ".projen/files.json": Object { "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\".", "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -176,7 +142,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -210,33 +175,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: -1 - days-before-pr-close: -1 - days-before-issue-stale: 100 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -245,14 +183,12 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml ", ".projen/files.json": Object { "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\".", "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/python/__snapshots__/poetry.test.ts.snap b/test/python/__snapshots__/poetry.test.ts.snap index 8ab821a094f..e5dea979ab0 100644 --- a/test/python/__snapshots__/poetry.test.ts.snap +++ b/test/python/__snapshots__/poetry.test.ts.snap @@ -6,7 +6,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -41,37 +40,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -80,7 +48,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/pyproject.toml /poetry.toml __pycache__/ @@ -190,7 +157,6 @@ cython_debug/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/python/__snapshots__/projenrc.test.ts.snap b/test/python/__snapshots__/projenrc.test.ts.snap index 3076ff5322b..5b7df4ad0ac 100644 --- a/test/python/__snapshots__/projenrc.test.ts.snap +++ b/test/python/__snapshots__/projenrc.test.ts.snap @@ -32,7 +32,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -66,37 +65,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -105,7 +73,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml ", ".projen/deps.json": Object { "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\".", @@ -122,7 +89,6 @@ node_modules/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/python/__snapshots__/python-project.test.ts.snap b/test/python/__snapshots__/python-project.test.ts.snap index ea531b3c1c3..d18829620f6 100644 --- a/test/python/__snapshots__/python-project.test.ts.snap +++ b/test/python/__snapshots__/python-project.test.ts.snap @@ -6,7 +6,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -42,37 +41,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -81,7 +49,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /.env !/requirements.txt !/requirements-dev.txt @@ -182,7 +149,6 @@ cython_debug/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -335,7 +301,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -371,37 +336,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -410,7 +344,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /.env !/requirements.txt !/requirements-dev.txt @@ -526,7 +459,6 @@ cython_debug/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -682,7 +614,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -718,37 +649,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -757,7 +657,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /.env !/requirements.txt !/requirements-dev.txt @@ -872,7 +771,6 @@ cython_debug/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -1028,7 +926,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -1064,37 +961,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -1103,7 +969,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /.env !/requirements.txt !/requirements-dev.txt @@ -1199,7 +1064,6 @@ cython_debug/ "files": Array [ ".gitattributes", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/release/__snapshots__/release.test.ts.snap b/test/release/__snapshots__/release.test.ts.snap index f2734add0c8..88c617289cf 100644 --- a/test/release/__snapshots__/release.test.ts.snap +++ b/test/release/__snapshots__/release.test.ts.snap @@ -7,7 +7,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -124,37 +123,6 @@ jobs: NPM_REGISTRY: my-domain-111122223333.d.codeartifact.us-west-2.amazonaws.com/npm/my_repo/ AWS_ACCESS_KEY_ID: \${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: \${{ secrets.AWS_SECRET_ACCESS_KEY }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -163,7 +131,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -174,7 +141,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -351,7 +317,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -468,37 +433,6 @@ jobs: NPM_REGISTRY: my-domain-111122223333.d.codeartifact.us-west-2.amazonaws.com/npm/my_repo/ AWS_ACCESS_KEY_ID: \${{ secrets.OTHER_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: \${{ secrets.OTHER_AWS_SECRET_ACCESS_KEY }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -507,7 +441,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -518,7 +451,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -695,7 +627,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -813,37 +744,6 @@ jobs: AWS_ACCESS_KEY_ID: \${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: \${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_ROLE_TO_ASSUME: role-arn -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -852,7 +752,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -863,7 +762,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -1043,7 +941,6 @@ Object { /.github/workflows/release-10.x.yml linguist-generated /.github/workflows/release-2.x.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -1257,37 +1154,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -1296,7 +1162,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -1311,7 +1176,6 @@ node_modules/ ".github/workflows/release-10.x.yml", ".github/workflows/release-2.x.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -1554,7 +1418,6 @@ Object { /.github/workflows/foo-workflow.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -1766,37 +1629,6 @@ jobs: permissions: actions: none steps: [] -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -1805,7 +1637,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -1818,7 +1649,6 @@ node_modules/ ".github/workflows/foo-workflow.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -2050,7 +1880,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -2147,37 +1976,6 @@ jobs: GITHUB_REF: \${{ github.ref }} env: BAR: VALUE2 -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -2186,7 +1984,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -2197,7 +1994,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -2468,7 +2264,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -2585,37 +2380,6 @@ jobs: NPM_DIST_TAG: latest NPM_REGISTRY: npm.pkg.github.com NPM_TOKEN: \${{ secrets.GITHUB_TOKEN }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -2624,7 +2388,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -2635,7 +2398,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -3017,7 +2779,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -3111,37 +2872,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -3150,7 +2880,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -3161,7 +2890,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -3983,7 +3711,6 @@ Object { /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release-firefox.yml linguist-generated /.github/workflows/release-safari.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -4137,37 +3864,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -4176,7 +3872,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release-firefox.yml @@ -4189,7 +3884,6 @@ node_modules/ ".github/workflows/pull-request-lint.yml", ".github/workflows/release-firefox.yml", ".github/workflows/release-safari.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -4393,7 +4087,6 @@ Object { /.github/workflows/release-3.x.yml linguist-generated /.github/workflows/release-next.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -4607,37 +4300,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -4646,7 +4308,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -4661,7 +4322,6 @@ node_modules/ ".github/workflows/release-3.x.yml", ".github/workflows/release-next.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -4904,7 +4564,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -4998,37 +4657,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -5037,7 +4665,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -5048,7 +4675,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", @@ -5206,7 +4832,6 @@ Object { /.gitattributes linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.gitignore linguist-generated /.projen/** linguist-generated /.projen/deps.json linguist-generated @@ -5300,37 +4925,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". node_modules/ @@ -5339,7 +4933,6 @@ node_modules/ !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml /dist/changelog.md /dist/version.txt !/.github/workflows/release.yml @@ -5350,7 +4943,6 @@ node_modules/ ".gitattributes", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".gitignore", ".projen/deps.json", ".projen/files.json", diff --git a/test/typescript/__snapshots__/typescript.test.ts.snap b/test/typescript/__snapshots__/typescript.test.ts.snap index 86d99aaba13..898bea402ce 100644 --- a/test/typescript/__snapshots__/typescript.test.ts.snap +++ b/test/typescript/__snapshots__/typescript.test.ts.snap @@ -7,7 +7,6 @@ exports[`sources and compiled output can be collocated 1`] = ` !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore diff --git a/test/web/__snapshots__/nextjs-project.test.ts.snap b/test/web/__snapshots__/nextjs-project.test.ts.snap index 8452181a9c2..a23a89ba905 100644 --- a/test/web/__snapshots__/nextjs-project.test.ts.snap +++ b/test/web/__snapshots__/nextjs-project.test.ts.snap @@ -9,7 +9,6 @@ Object { /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade-main.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated @@ -194,37 +193,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade-main.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -325,7 +293,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -449,7 +416,6 @@ pull_request_rules: ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade-main.yml", ".gitignore", ".mergify.yml", diff --git a/test/web/__snapshots__/nextjs-ts-project.test.ts.snap b/test/web/__snapshots__/nextjs-ts-project.test.ts.snap index 8728caf5778..156191523c1 100644 --- a/test/web/__snapshots__/nextjs-ts-project.test.ts.snap +++ b/test/web/__snapshots__/nextjs-ts-project.test.ts.snap @@ -8,7 +8,6 @@ Object { /.github/pull_request_template.md linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated @@ -129,37 +128,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -257,7 +225,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -405,7 +372,6 @@ tsconfig.tsbuildinfo ".github/pull_request_template.md", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade.yml", ".gitignore", ".mergify.yml", diff --git a/test/web/__snapshots__/react-project.test.ts.snap b/test/web/__snapshots__/react-project.test.ts.snap index ee6daca1a12..de4031f76c0 100644 --- a/test/web/__snapshots__/react-project.test.ts.snap +++ b/test/web/__snapshots__/react-project.test.ts.snap @@ -9,7 +9,6 @@ Object { /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade-main.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated @@ -184,37 +183,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: \${{ github.repository }} GITHUB_REF: \${{ github.ref }} -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade-main.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -311,7 +279,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -436,7 +403,6 @@ pull_request_rules: ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade-main.yml", ".gitignore", ".mergify.yml", diff --git a/test/web/__snapshots__/react-ts-project.test.ts.snap b/test/web/__snapshots__/react-ts-project.test.ts.snap index 5d436310617..2035e75224c 100644 --- a/test/web/__snapshots__/react-ts-project.test.ts.snap +++ b/test/web/__snapshots__/react-ts-project.test.ts.snap @@ -8,7 +8,6 @@ Object { /.github/pull_request_template.md linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated -/.github/workflows/stale.yml linguist-generated /.github/workflows/upgrade.yml linguist-generated /.gitignore linguist-generated /.mergify.yml linguist-generated @@ -124,37 +123,6 @@ jobs: fix chore requireScope: false -", - ".github/workflows/stale.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". - -name: stale -on: - schedule: - - cron: 0 1 * * * - workflow_dispatch: {} -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v4 - with: - days-before-stale: -1 - days-before-close: -1 - days-before-pr-stale: 14 - days-before-pr-close: 2 - stale-pr-message: This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-pr-message: Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-pr-label: stale - exempt-pr-labels: backlog - days-before-issue-stale: 60 - days-before-issue-close: 7 - stale-issue-message: This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - close-issue-message: Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the \\"backlog\\" label. - stale-issue-label: stale - exempt-issue-labels: backlog ", ".github/workflows/upgrade.yml": "# ~~ Generated by projen. To modify, edit .projenrc.js and run \\"npx projen\\". @@ -248,7 +216,6 @@ jobs: !/.projen/deps.json !/.projen/files.json !/.github/workflows/pull-request-lint.yml -!/.github/workflows/stale.yml !/package.json !/LICENSE !/.npmignore @@ -403,7 +370,6 @@ tsconfig.tsbuildinfo ".github/pull_request_template.md", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", - ".github/workflows/stale.yml", ".github/workflows/upgrade.yml", ".gitignore", ".mergify.yml",