Skip to content

Commit c1b6304

Browse files
authored
Merge pull request #48 from bitnami/repo-sync/support/default
🔄 synced file(s) with bitnami/support
2 parents b26503c + 0c88748 commit c1b6304

File tree

8 files changed

+51
-0
lines changed

8 files changed

+51
-0
lines changed

.github/workflows/comments.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright Broadcom, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: APACHE-2.0
33

4+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
45
name: '[Support] Comments based card movements'
56
on:
67
issue_comment:

.github/workflows/move-closed-issues.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright Broadcom, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: APACHE-2.0
33

4+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
45
name: '[Support] Move closed issues'
56
on:
67
issues:

.github/workflows/pr-review-hack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# This is a hack to run reusable workflows in the main repo context and not from the forked repository.
55
# We this hack we can use secrets configured in the organization.
6+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
67
name: '[Support] PR review comment trigger'
78
on:
89
workflow_run:

.github/workflows/pr-reviews-requested.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright Broadcom, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: APACHE-2.0
33

4+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
45
name: '[Support] Review based card movements'
56
on:
67
pull_request_target:

.github/workflows/pr-reviews.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright Broadcom, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: APACHE-2.0
33

4+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
45
name: '[Support] PR review comment card movements'
56
on:
67
pull_request_review_comment:

.github/workflows/reasign.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright Broadcom, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: APACHE-2.0
33

4+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
45
name: '[Support] Review based card movements'
56
on:
67
pull_request_target:

.github/workflows/stale.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright Broadcom, Inc. All Rights Reserved.
2+
# SPDX-License-Identifier: APACHE-2.0
3+
4+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
5+
name: '[Support] Close stale issues and PRs'
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '0 1 * * *'
10+
# Remove all permissions by default
11+
permissions: {}
12+
# This job won't trigger any additional event. All actions are performed with GITHUB_TOKEN
13+
jobs:
14+
stale:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
steps:
20+
# This step will add the stale comment and label for the first 15 days without activity. It won't close any task
21+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
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.'
25+
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.'
26+
days-before-stale: 15
27+
days-before-close: -1
28+
exempt-issue-labels: 'on-hold'
29+
exempt-pr-labels: 'on-hold'
30+
operations-per-run: 500
31+
# 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
32+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
33+
with:
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}
35+
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.'
36+
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.'
37+
any-of-labels: 'stale'
38+
stale-issue-label: 'solved'
39+
stale-pr-label: 'solved'
40+
days-before-stale: 5
41+
days-before-close: -1
42+
exempt-issue-labels: 'on-hold'
43+
exempt-pr-labels: 'on-hold'
44+
operations-per-run: 200

.github/workflows/triage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: APACHE-2.0
33

44
# This workflow is built to manage the triage support by using GH issues.
5+
# NOTE: This workflow is maintained in the https://github.com/bitnami/support repository
56
name: '[Support] Organize triage'
67
on:
78
issues:

0 commit comments

Comments
 (0)