Skip to content

Commit 78e781a

Browse files
authored
Merge pull request #53 from imjohnbo/fix/state-all
Fix/state all
2 parents d25707a + 66ee4c2 commit 78e781a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/issue-bot.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ const getPreviousIssue = async (labels) => {
199199

200200
const data = (await octokit.rest.issues.listForRepo({
201201
...context.repo,
202-
labels
202+
labels,
203+
state: 'all'
203204
})).data[0];
204205

205206
if (data) {

0 commit comments

Comments
 (0)