mirror of https://github.com/tikv/client-java.git
parent
49476d7fa0
commit
2ac49bb92c
|
@ -1,4 +1,4 @@
|
||||||
name: "Pull Request Labeler"
|
name: "PR Labeler"
|
||||||
on:
|
on:
|
||||||
- pull_request_target
|
- pull_request_target
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
name: 'PR Title Checker'
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [edited, opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
title-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: naveenk1223/action-pr-title@master
|
||||||
|
with:
|
||||||
|
regex: '\[to|fix|close #[0-9]+\] .+'
|
||||||
|
prefix_case_sensitive: true
|
||||||
|
max_length: -1
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: 'Stale Checker'
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v4
|
||||||
|
with:
|
||||||
|
days-before-stale: 30
|
||||||
|
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity.'
|
||||||
|
stale-issue-label: 'status/stale'
|
||||||
|
days-before-issue-close: -1
|
||||||
|
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove the status/stale label or comment or this PR will be closed in 7 days.'
|
||||||
|
stale-pr-label: 'status/stale'
|
||||||
|
days-before-pr-close: 7
|
||||||
|
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
|
Loading…
Reference in New Issue