Skip to content

Commit

Permalink
Use github action
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Sep 21, 2020
1 parent 65d1738 commit d159d30
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/lock.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [pull_request, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank your for submiting, please be sure you followed template or your issue may be dismissed.'
pr-message: 'Thank you for your contribution, be patient, review can take a time.'
26 changes: 26 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Lock threads'

on:
schedule:
- cron: '0 * * * *'

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '1'
issue-exclude-created-before: ''
issue-exclude-labels: 'planned'
issue-lock-labels: 'outdated'
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: 'resolved'
pr-lock-inactive-days: '365'
pr-exclude-created-before: ''
pr-exclude-labels: ''
pr-lock-labels: ''
pr-lock-comment: ''
pr-lock-reason: 'resolved'
process-only: 'issues'

0 comments on commit d159d30

Please sign in to comment.