github.com/jaylevin/jenkins-library@v1.230.4/.github/workflows/stale.yaml (about) 1 name: "Close stale issues" 2 on: 3 schedule: 4 - cron: "0 0 * * *" 5 6 jobs: 7 stale: 8 runs-on: ubuntu-latest 9 steps: 10 - uses: actions/stale@v4 11 with: 12 repo-token: ${{ secrets.GITHUB_TOKEN }} 13 stale-issue-message: 'Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add `@SAP/jenkins-library-team` to your comment.' 14 close-issue-message: 'Issue got stale and no further activity happened. It has automatically been closed. Please re-open in case you still consider it relevant.' 15 stale-pr-message: 'Thank you for your contribution! This pull request is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add `@SAP/jenkins-library-team` to your comment.' 16 close-pr-message: 'Pull request got stale and no further activity happened. It has automatically been closed. Please re-open in case you still consider it relevant.' 17 days-before-stale: 60 18 days-before-close: 10 19 stale-issue-label: 'stale' 20 stale-pr-label: 'stale' 21 operations-per-run: 60