Files
project-work/worker-toolkit-stocks-in-the-future/repo/.github/workflows/unassign-stale-issues.yml
Eric Bell 2854619bc9 chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

28 lines
955 B
YAML

on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
unassign_issues:
runs-on: ubuntu-latest
name: Unassign issues
permissions:
issues: write
pull-requests: write
steps:
- name: Mark issues as stale
uses: actions/stale@v8
with:
include-only-assigned: true
stale-issue-message: 'This issue is marked as stale due to no activity within 20 days. If no further activity is detected within 7 days, it will be unassigned.'
days-before-stale: 20
days-before-close: -1
days-before-pr-close: -1
- name: Unassign stale issues
uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@main
with:
last-activity: 7
labels: 'Stale'
labels-to-remove: 'Stale'
message: 'Automatically unassigned after 7 days of inactivity.'