Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
b5c33fc0
"vscode:/vscode.git/clone" did not exist on "1b4455a55a81175ef0eff0bf6a6db12aa235cc4f"
Commit
b5c33fc0
authored
Jul 08, 2025
by
Muyang Li
Browse files
[Auto Merge] chore: update the issue cleaning bot
parents
1e621a58
f2286286
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.github/workflows/close-inactive-issues.yaml
.github/workflows/close-inactive-issues.yaml
+2
-2
No files found.
.github/workflows/close-inactive-issues.yaml
View file @
b5c33fc0
...
@@ -17,7 +17,7 @@ jobs:
...
@@ -17,7 +17,7 @@ jobs:
with
:
with
:
github-token
:
${{secrets.GITHUB_TOKEN}}
github-token
:
${{secrets.GITHUB_TOKEN}}
script
:
|
script
:
|
const sixtyDaysAgo = new Date(Date.now() -
60
* 24 * 60 * 60 * 1000);
const sixtyDaysAgo = new Date(Date.now() -
35
* 24 * 60 * 60 * 1000);
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
console.log(`Owner: ${owner}, Repo: ${repo}`);
console.log(`Owner: ${owner}, Repo: ${repo}`);
...
@@ -70,7 +70,7 @@ jobs:
...
@@ -70,7 +70,7 @@ jobs:
owner,
owner,
repo,
repo,
issue_number: issue.number,
issue_number: issue.number,
body: 'This issue has been automatically closed due to
60
-day inactivity. Please feel free to reopen it if needed.'
body: 'This issue has been automatically closed due to
35
-day inactivity. Please feel free to reopen it if needed.'
});
});
console.log(`Closed issue #${issue.number} due to inactivity.`);
console.log(`Closed issue #${issue.number} due to inactivity.`);
} catch (error) {
} catch (error) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment