Skip to content

Commit 6c526e4

Browse files
authored
ci: update STALE-ISSUES workflow from global .github repo (#18)
Signed-off-by: microcks-bot <info@microcks.io>
1 parent addadb7 commit 6c526e4

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# This workflow is used to manage stale issues and PRs in the Microcks project.
2+
name: Manage stale issues and PRs
3+
4+
on:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
stale:
13+
permissions:
14+
issues: write # for actions/stale to close stale issues
15+
pull-requests: write # for actions/stale to close stale PRs
16+
if: startsWith(github.repository, 'microcks/')
17+
name: Mark issue or PR as stale
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/stale@99b6c709598e2b0d0841cd037aaf1ba07a4410bd #v5.2.0 but pointing to commit for security reasons
21+
with:
22+
repo-token: ${{ secrets.GITHUB_TOKEN }}
23+
stale-issue-message: |
24+
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
25+
26+
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
27+
28+
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under [open governance model](https://github.com/microcks/.github/blob/main/CODE_OF_CONDUCT.md).
29+
30+
Let us figure out together how to push this issue forward. Connect with us through [one of many communication channels](https://microcks.io/community/) we established here.
31+
32+
Thank you for your patience :heart:
33+
stale-pr-message: |
34+
This pull request has been automatically marked as stale because it has not had recent activity :sleeping:
35+
36+
It will be closed in 30 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.
37+
38+
There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under [open governance model](https://github.com/microcks/.github/blob/main/CODE_OF_CONDUCT.md).
39+
40+
Let us figure out together how to push this pull request forward. Connect with us through [one of many communication channels](https://microcks.io/community/) we established here.
41+
42+
Thank you for your patience :heart:
43+
days-before-stale: 30
44+
days-before-close: 30
45+
stale-issue-label: stale
46+
stale-pr-label: stale
47+
exempt-issue-labels: keep-open
48+
exempt-pr-labels: keep-open
49+
close-issue-reason: not_planned

0 commit comments

Comments
 (0)