Skip to content

Commit dcc4ccd

Browse files
authored
ci: increase invalid theme close time (#2210)
This commits increases the theme invalid close time to 20 days.
1 parent 1d10912 commit dcc4ccd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/stale-theme-pr-closer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626

2727
- run: npm run close-stale-theme-prs
2828
env:
29-
STALE_DAYS: 15
29+
STALE_DAYS: 20
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

scripts/close-stale-theme-prs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const run = async () => {
127127
try {
128128
// Create octokit client.
129129
const dryRun = process.env.DRY_RUN === "true" || false;
130-
const staleDays = process.env.STALE_DAYS || 15;
130+
const staleDays = process.env.STALE_DAYS || 20;
131131
debug("Creating octokit client...");
132132
const octokit = github.getOctokit(getGithubToken());
133133
const { owner, repo } = getRepoInfo(github.context);

scripts/preview-theme.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const THEME_PR_SUCCESS_TEXT =
2424
":heavy_check_mark: Theme PR does adhere to our guidelines.";
2525
const FAIL_TEXT = `
2626
\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\
27-
\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.
27+
\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.
2828
`;
2929
const THEME_CONTRIB_GUIDELINESS = `
3030
\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).

0 commit comments

Comments
 (0)