Issue Management (Test Version) #16
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: Issue Management (Test Version) | |
on: | |
schedule: | |
- cron: '*/5 * * * *' # runs every 5 minutes | |
workflow_dispatch: # allows you to manually trigger the action | |
jobs: | |
manage-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Manage inactive issues | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
const script = require('./.github/scripts/manage-issues.js') | |
await script({github, context}) |