diff --git a/.github/workflows/comments.yml b/.github/workflows/comments.yml index 7eb3986..eccff3a 100644 --- a/.github/workflows/comments.yml +++ b/.github/workflows/comments.yml @@ -1,6 +1,7 @@ # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] Comments based card movements' on: issue_comment: diff --git a/.github/workflows/move-closed-issues.yml b/.github/workflows/move-closed-issues.yml index a00cca3..cab0c78 100644 --- a/.github/workflows/move-closed-issues.yml +++ b/.github/workflows/move-closed-issues.yml @@ -1,6 +1,7 @@ # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] Move closed issues' on: issues: diff --git a/.github/workflows/pr-review-hack.yml b/.github/workflows/pr-review-hack.yml index 295804e..509ba45 100644 --- a/.github/workflows/pr-review-hack.yml +++ b/.github/workflows/pr-review-hack.yml @@ -3,6 +3,7 @@ # This is a hack to run reusable workflows in the main repo context and not from the forked repository. # We this hack we can use secrets configured in the organization. +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] PR review comment trigger' on: workflow_run: diff --git a/.github/workflows/pr-reviews-requested.yml b/.github/workflows/pr-reviews-requested.yml index e8c9338..d039e4d 100644 --- a/.github/workflows/pr-reviews-requested.yml +++ b/.github/workflows/pr-reviews-requested.yml @@ -1,6 +1,7 @@ # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] Review based card movements' on: pull_request_target: diff --git a/.github/workflows/pr-reviews.yml b/.github/workflows/pr-reviews.yml index 52ce8f1..32889d8 100644 --- a/.github/workflows/pr-reviews.yml +++ b/.github/workflows/pr-reviews.yml @@ -1,6 +1,7 @@ # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] PR review comment card movements' on: pull_request_review_comment: diff --git a/.github/workflows/reasign.yml b/.github/workflows/reasign.yml index b33bb15..2a1d26c 100644 --- a/.github/workflows/reasign.yml +++ b/.github/workflows/reasign.yml @@ -1,6 +1,7 @@ # Copyright Broadcom, Inc. All Rights Reserved. # SPDX-License-Identifier: APACHE-2.0 +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] Review based card movements' on: pull_request_target: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..5547311 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,44 @@ +# Copyright Broadcom, Inc. All Rights Reserved. +# SPDX-License-Identifier: APACHE-2.0 + +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository +name: '[Support] Close stale issues and PRs' +on: + workflow_dispatch: + schedule: + - cron: '0 1 * * *' +# Remove all permissions by default +permissions: {} +# This job won't trigger any additional event. All actions are performed with GITHUB_TOKEN +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + # This step will add the stale comment and label for the first 15 days without activity. It won't close any task + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 + 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.' + days-before-stale: 15 + days-before-close: -1 + exempt-issue-labels: 'on-hold' + exempt-pr-labels: 'on-hold' + operations-per-run: 500 + # This step will add the 'solved' label and the last comment before closing the issue or PR. Note that it won't close any issue or PR, they will be closed by the clossing-issues workflow + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-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.' + stale-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.' + any-of-labels: 'stale' + stale-issue-label: 'solved' + stale-pr-label: 'solved' + days-before-stale: 5 + days-before-close: -1 + exempt-issue-labels: 'on-hold' + exempt-pr-labels: 'on-hold' + operations-per-run: 200 \ No newline at end of file diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 4dcaeeb..09ba259 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -2,6 +2,7 @@ # SPDX-License-Identifier: APACHE-2.0 # This workflow is built to manage the triage support by using GH issues. +# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository name: '[Support] Organize triage' on: issues: