1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/.github/workflows/stale.yml
renovate[bot] 920c2480e7
chore(deps): update actions/stale action to v8 (#4438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 15:53:40 +02:00

23 lines
1.5 KiB
YAML

name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.10.0
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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.'
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.'
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.'
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.'
days-before-stale: 60
days-before-close: 10
stale-issue-label: 'stale'
stale-pr-label: 'stale'
operations-per-run: 60