Close Need More Info Issues #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Need More Info Issues | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 1" # Runs every Monday at midnight UTC | |
permissions: | |
issues: write | |
jobs: | |
close-needs-more-info-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Close issue if more info is not provided | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const action = require('${{ github.workspace }}/.github/scripts/closeNeedMoreInfoIssues.js') | |
await action({github, context, core}) |