We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a0085 commit 5d33b52Copy full SHA for 5d33b52
github-actions/lock-closed/src/main.ts
@@ -43,7 +43,7 @@ async function run(): Promise<void> {
43
threshold.setDate(threshold.getDate() - days);
44
45
const repositoryName = github.context.repo.owner + '/' + github.context.repo.repo;
46
- const query = `repo:${repositoryName}+is:issue+is:closed+is:unlocked+updated:<${threshold.toISOString()}+sort:updated-asc`;
+ const query = `repo:${repositoryName}+is:issue+is:closed+is:unlocked+updated:<${threshold.toISOString().split('T')[0]}+sort:updated-asc`;
47
core.debug('Issue query: ' + query);
48
49
let lockCount = 0;
0 commit comments