mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
c23088f7b3
* Add GitHub Action to clean up stale issues and PRs * Update config.yml * Update stale.yaml * update messages * Update stale.yaml * update text and closing timeout * Update stale.yaml * Update stale.yaml * Update stale.yaml * Update .github/workflows/stale.yaml Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com> * Update .github/workflows/stale.yaml Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com> * Update .github/workflows/stale.yaml Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com> * Update .github/workflows/stale.yaml Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com> * fix string syntax Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com> Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
22 lines
1.4 KiB
YAML
22 lines
1.4 KiB
YAML
name: "Close stale issues"
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v4
|
|
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
|