Skip to content

Commit d966b7f

Browse files
committed
feat(examples): close stale and inactive issues as 'not planned'
1 parent 0345f07 commit d966b7f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

examples/workflows/issue-cleanup/gemini-issue-cleanup.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ jobs:
120120
owner: context.repo.owner,
121121
repo: context.repo.repo,
122122
issue_number: issueNumber,
123-
state: 'closed'
123+
state: 'closed',
124+
state_reason: 'not_planned'
124125
});
125126
core.setOutput('is_stale', 'true');
126127
return;
@@ -167,7 +168,8 @@ jobs:
167168
owner: context.repo.owner,
168169
repo: context.repo.repo,
169170
issue_number: issueNumber,
170-
state: 'closed'
171+
state: 'closed',
172+
state_reason: 'not_planned'
171173
});
172174
core.setOutput('is_stale', 'true');
173175
return;

0 commit comments

Comments
 (0)