diff --git a/.github/workflows/close all issues b/.github/workflows/close all issues index ff2a9fc..e290ca6 100644 --- a/.github/workflows/close all issues +++ b/.github/workflows/close all issues @@ -19,7 +19,7 @@ jobs: }); for (const issue of issues) { - if (!issue.pull_request) { // Ensure it’s an issue, not a pull request + if (issue.pull_request) { // Ensure it’s an issue, not a pull request await github.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo,