Skip to content

Close Stale Issues

Close Stale Issues #6

name: Close Stale Issues
on:
repository_dispatch:
workflow_dispatch:
jobs:
close_stale_issues:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v9
permissions:

Check failure on line 12 in .github/workflows/IssuesCloseStale.yml

View workflow run for this annotation

GitHub Actions / Close Stale Issues

Invalid workflow file

The workflow is not valid. .github/workflows/IssuesCloseStale.yml (Line: 12, Col: 9): Unexpected value 'permissions'
contents: write # only for delete-branch option
issues: write
pull-requests: write
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
close-issue-message: 'This issue was closed because it has been stale for 30 days with no activity.'
close-pr-message: 'This pull request was closed because it has been stale for 30 days with no activity.'
days-before-stale: 90
days-before-close: 30
operations-per-run: 500
stale-issue-label: stale
stale-pr-label: stale