From 6d99b76d94bb1509f51205b90c1ed49cce7f4c5c Mon Sep 17 00:00:00 2001 From: Lakshmi Pavananjali <154777864+Anjaliavv51@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:28:44 +0530 Subject: [PATCH] Update close all issues --- .github/workflows/close all issues | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,