Skip to content

Commit f0bd1bb

Browse files
committed
📝 Move to github actions
Reconfigure stale-bot Add conversation lock on closed issues
1 parent 6f5d320 commit f0bd1bb

File tree

3 files changed

+71
-14
lines changed

3 files changed

+71
-14
lines changed

.github/stale.yml

-14
This file was deleted.

.github/workflows/lock-closed.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#
2+
# lock-closed.yml
3+
# Lock closed issues after a period of inactivity
4+
#
5+
6+
name: Lock Closed Issues
7+
8+
on:
9+
schedule:
10+
- cron: '0 1/13 * * *'
11+
12+
jobs:
13+
lock:
14+
name: Lock Closed Issues
15+
if: github.repository == 'BillyBlaze/OctoPrint-TouchUI'
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: dessant/lock-threads@v2
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
process-only: 'issues'
24+
issue-lock-inactive-days: '14'
25+
issue-exclude-created-before: ''
26+
issue-exclude-labels: 'no-locking'
27+
issue-lock-labels: ''
28+
issue-lock-comment: >
29+
This issue has been automatically locked since there
30+
has not been any recent activity after it was closed.
31+
Please open a new issue for related bugs.
32+
issue-lock-reason: ''

.github/workflows/stale.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
days-before-stale: 14
17+
days-before-close: 7
18+
stale-issue-message: >
19+
This issue has been automatically marked as inactive because it has not had
20+
recent activity. It will be closed if no further activity occurs. Thank you
21+
for your contributions.
22+
stale-pr-message: >
23+
This issue has been automatically marked as inactive because it has not had
24+
recent activity. It will be closed if no further activity occurs. Thank you
25+
for your contributions.
26+
stale-issue-label: 'inactive'
27+
stale-pr-label: 'inactive'
28+
exempt-issue-labels:
29+
- help wanted
30+
- up for grabs
31+
- fixed
32+
- confirmed
33+
- pending
34+
exempt-pr-labels:
35+
- help wanted
36+
- up for grabs
37+
- fixed
38+
- confirmed
39+
- pending

0 commit comments

Comments
 (0)