Skip to content

Commit

Permalink
📝 Move to github actions
Browse files Browse the repository at this point in the history
Reconfigure stale-bot
Add conversation lock on closed issues
  • Loading branch information
BillyBlaze committed Sep 10, 2020
1 parent 6f5d320 commit f0bd1bb
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/stale.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/lock-closed.yml
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: ''
39 changes: 39 additions & 0 deletions .github/workflows/stale.yml
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

0 comments on commit f0bd1bb

Please sign in to comment.