--- # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Stale on: schedule: - cron: '0 8 * * *' workflow_call: workflow_dispatch: jobs: stale: name: ๐Ÿงน Clean up stale issues and PRs runs-on: ubuntu-latest permissions: contents: write # only for delete-branch option issues: write pull-requests: write steps: - name: ๐Ÿš€ Run stale uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 30 days-before-close: 7 remove-stale-when-updated: true stale-issue-label: 'stale' exempt-issue-labels: 'no-stale,help-wanted' stale-issue-message: > This issue has now been marked as stale and will be closed if no further activity occurs. Thanks! stale-pr-label: 'stale' exempt-pr-labels: 'no-stale' stale-pr-message: > There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.