Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjaliavv51 committed Dec 21, 2024
1 parent 4520419 commit ffcfcd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/close all issues
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Close All Issues
name: Close All Open Issues

on:
workflow_dispatch:
Expand All @@ -19,7 +19,7 @@ jobs:
const issues = await github.rest.issues.listForRepo({
owner,
repo,
state: 'open'
state: 'open' // Only fetch open issues
});
for (const issue of issues.data) {
await github.rest.issues.update({
Expand Down

0 comments on commit ffcfcd3

Please sign in to comment.