Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Nov 11, 2024
1 parent c684793 commit bb2086d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/close-spam-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
defaults:
run:
working-directory: .github/workflows/spam-removal
permissions:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/spam-removal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ async function closeSpamIssues() {
}
}

closeSpamIssues().catch(error => console.error(error));
closeSpamIssues().then(()=> {
console.log('Successfully ran spam issue clean up')
})

0 comments on commit bb2086d

Please sign in to comment.