mirror of
https://github.com/bitnami/charts.git
synced 2026-03-01 06:58:20 +08:00
* Changing the token to the stale bot and the if condition to ensure stale closed issues are moved into Solved Signed-off-by: Alejandro Gómez <morona@vmware.com> * Ensuring internal PRs/issues are not assigned to the triage team Signed-off-by: Alejandro Gómez <morona@vmware.com> * Ensuring if a comment is done (not by the bitnami-bot), the stale label is removed Signed-off-by: Alejandro Gómez <morona@vmware.com> * Reverting if condition but adding an OR clause to handle a bitnami-bot event only if the issue is closed and had the stale label Signed-off-by: Alejandro Gómez <morona@vmware.com> Signed-off-by: Alejandro Gómez <morona@vmware.com>
22 lines
1.2 KiB
YAML
22 lines
1.2 KiB
YAML
name: '[Support] Close stale issues and PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
repo-token: ${{ secrets.BITNAMI_BOT_TOKEN }}
|
|
stale-issue-message: 'This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.'
|
|
stale-pr-message: 'This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.'
|
|
close-issue-message: 'Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.'
|
|
close-pr-message: 'Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.'
|
|
days-before-stale: 15
|
|
days-before-close: 5
|
|
exempt-issue-labels: 'on-hold'
|
|
exempt-pr-labels: 'on-hold'
|
|
operations-per-run: 500
|