-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reconfigure stale-bot Add conversation lock on closed issues
- Loading branch information
1 parent
6f5d320
commit f0bd1bb
Showing
3 changed files
with
71 additions
and
14 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# lock-closed.yml | ||
# Lock closed issues after a period of inactivity | ||
# | ||
|
||
name: Lock Closed Issues | ||
|
||
on: | ||
schedule: | ||
- cron: '0 1/13 * * *' | ||
|
||
jobs: | ||
lock: | ||
name: Lock Closed Issues | ||
if: github.repository == 'BillyBlaze/OctoPrint-TouchUI' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: dessant/lock-threads@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
process-only: 'issues' | ||
issue-lock-inactive-days: '14' | ||
issue-exclude-created-before: '' | ||
issue-exclude-labels: 'no-locking' | ||
issue-lock-labels: '' | ||
issue-lock-comment: > | ||
This issue has been automatically locked since there | ||
has not been any recent activity after it was closed. | ||
Please open a new issue for related bugs. | ||
issue-lock-reason: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/stale@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 14 | ||
days-before-close: 7 | ||
stale-issue-message: > | ||
This issue has been automatically marked as inactive because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
stale-pr-message: > | ||
This issue has been automatically marked as inactive because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
stale-issue-label: 'inactive' | ||
stale-pr-label: 'inactive' | ||
exempt-issue-labels: | ||
- help wanted | ||
- up for grabs | ||
- fixed | ||
- confirmed | ||
- pending | ||
exempt-pr-labels: | ||
- help wanted | ||
- up for grabs | ||
- fixed | ||
- confirmed | ||
- pending |