forked from mirror/gorm
issue
This commit is contained in:
parent
834cfa2c78
commit
eac6d1bdb9
|
@ -0,0 +1,6 @@
|
|||
# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
|
||||
HasGormPlaygroundTestCase:
|
||||
- '(github.com/go-gorm/playground/pull/\d)'
|
||||
|
||||
NoTestCase:
|
||||
- '(change this to your link)'
|
|
@ -0,0 +1,15 @@
|
|||
name: "Issue-Labeler"
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/issue-labeler@v2.0
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: ".github/labeler.yml"
|
||||
not-before: "2020-01-15T02:54:32Z"
|
||||
enable-versioned-regex: 0
|
|
@ -0,0 +1,19 @@
|
|||
name: Issue cleanup
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *' # At 01:00, everyday
|
||||
jobs:
|
||||
triage_issues:
|
||||
name: Issue triage
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Find old issues and mark them stale
|
||||
uses: Krizzu/issue-triage-action@v1.0.0
|
||||
with:
|
||||
ghToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
staleAfter: 7
|
||||
closeAfter: 14
|
||||
staleLabel: "STALE 📺"
|
||||
staleComment: "This issue is %DAYS_OLD% days old, marking as stale! cc: @%AUTHOR%"
|
||||
closeComment: "Issue last updated %DAYS_OLD% days ago! Closing down!"
|
||||
showLogs: true
|
Loading…
Reference in New Issue