auto_unassigner #9
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: auto_unassigner | |
on: | |
schedule: # Run at 0800 AM, daily (runs before new_comment_digest workflow). | |
- cron: '0 8 * * *' | |
workflow_dispatch: # This can be run on-demand (do we want this?) | |
permissions: | |
contents: read | |
issues: write | |
jobs: | |
auto_unassigner: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm install @octokit/action | |
- run: node scripts/gh_scripts/auto_unassigner.mjs --repoOwner $GITHUB_REPOSITORY_OWNER | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |