Skip to content

Add workflows to comment on new issue created and mark stale issues #3

Add workflows to comment on new issue created and mark stale issues

Add workflows to comment on new issue created and mark stale issues #3

Workflow file for this run

name: Mark Stale PRs
on:
schedule:
- cron: '30 1 * * *''
permissions:
pull-requests: write
jobs:
mark-stale-pr:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: -1
days-before-issue-close: -1
stale-pr-label: 'stale'
stale-pr-message: 'This PR is stalled because it has been open for 30 days with no activity.'

Check failure on line 19 in .github/workflows/stale.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/stale.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
days-before-pr-stale: 30
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}