mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 13:57:14 +08:00
* PRs created by bitnami-bot will be handled by triage workflow to include it in the support project (at the moment in bitnami column) and set the 'auto-merge' label, without assigning people to work on it Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove concurrency config from triage workflow. It doesn't make sense because only have one job and all steps are sequential Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove unnecessary code from move-closed-issues workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Add 'permissions' section to stale workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove labeling from comments workflow and delegate it to moving-cards workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Remove assignments and labeling from CI workflow Signed-off-by: Fran Mulero <fmulero@vmware.com> * Change moving-cards.yml workflow to listen created task event Signed-off-by: Fran Mulero <fmulero@vmware.com> * Apply suggestions Signed-off-by: Fran Mulero <fmulero@vmware.com> * Apply suggestions Signed-off-by: Fran Mulero <fmulero@vmware.com> * Include new 'automated' label form bitnami-bot PRs Signed-off-by: Fran Mulero <fmulero@vmware.com> Signed-off-by: Fran Mulero <fmulero@vmware.com>
25 lines
1.2 KiB
YAML
25 lines
1.2 KiB
YAML
name: '[Support] Close stale issues and PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_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'
|