ci: increase invalid theme close time (#2210)
This commits increases the theme invalid close time to 20 days.
This commit is contained in:
1 parent
1d10912646
commit
dcc4ccd18c
3 files changed
+3
-3
No files matched your search
@@ -26,5 +26,5 @@ jobs:
|
|||||||
|
|
||||||
- run: npm run close-stale-theme-prs
|
- run: npm run close-stale-theme-prs
|
||||||
env:
|
env:
|
||||||
STALE_DAYS: 15
|
STALE_DAYS: 20
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -127,7 +127,7 @@ const run = async () => {
|
|||||||
try {
|
try {
|
||||||
// Create octokit client.
|
// Create octokit client.
|
||||||
const dryRun = process.env.DRY_RUN === "true" || false;
|
const dryRun = process.env.DRY_RUN === "true" || false;
|
||||||
const staleDays = process.env.STALE_DAYS || 15;
|
const staleDays = process.env.STALE_DAYS || 20;
|
||||||
debug("Creating octokit client...");
|
debug("Creating octokit client...");
|
||||||
const octokit = github.getOctokit(getGithubToken());
|
const octokit = github.getOctokit(getGithubToken());
|
||||||
const { owner, repo } = getRepoInfo(github.context);
|
const { owner, repo } = getRepoInfo(github.context);
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ const THEME_PR_SUCCESS_TEXT =
|
|||||||
":heavy_check_mark: Theme PR does adhere to our guidelines.";
|
":heavy_check_mark: Theme PR does adhere to our guidelines.";
|
||||||
const FAIL_TEXT = `
|
const FAIL_TEXT = `
|
||||||
\rUnfortunately, your theme PR contains an error or does not adhere to our [theme guidelines](https://github.com/anuraghazra/github-readme-stats/blob/master/CONTRIBUTING.md#themes-contribution). Please fix the issues below, and we will review your\
|
\rUnfortunately, your theme PR contains an error or does not adhere to our [theme guidelines](https://github.com/anuraghazra/github-readme-stats/blob/master/CONTRIBUTING.md#themes-contribution). Please fix the issues below, and we will review your\
|
||||||
\r PR again. This pull request will **automatically close in 15 days** if no changes are made. After this time, you must re-open the PR for it to be reviewed.
|
\r PR again. This pull request will **automatically close in 20 days** if no changes are made. After this time, you must re-open the PR for it to be reviewed.
|
||||||
`;
|
`;
|
||||||
const THEME_CONTRIB_GUIDELINESS = `
|
const THEME_CONTRIB_GUIDELINESS = `
|
||||||
\rHi, thanks for the theme contribution. Please read our theme [contribution guidelines](https://github.com/anuraghazra/github-readme-stats/blob/master/CONTRIBUTING.md#themes-contribution).
|
\rHi, thanks for the theme contribution. Please read our theme [contribution guidelines](https://github.com/anuraghazra/github-readme-stats/blob/master/CONTRIBUTING.md#themes-contribution).
|
||||||
|
|||||||
Reference in new issue
Block a user