Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z committed Apr 2, 2020
1 parent 488f8cf commit 59ef047
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/issue-checklist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: pr-checklist

on:
issues:
types: [opened]

jobs:
respond:
runs-on: ubuntu-latest

steps:
- uses: ben-z/[email protected]
with:
message: "Did you go through all of the troubleshooting steps outlined in README.md?\nDid you describe what you've tried in the PR description?"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: 'no-issue-activity'
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
days-before-stale: 30
days-before-close: 5

0 comments on commit 59ef047

Please sign in to comment.