mirror of
https://github.com/sxyazi/yazi.git
synced 2024-11-24 09:53:12 +03:00
feat: add lock and no-response workflow
This commit is contained in:
parent
fc0057617e
commit
ce0c38ced5
2
.github/ISSUE_TEMPLATE/feature.yml
vendored
2
.github/ISSUE_TEMPLATE/feature.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Feature Request
|
name: Feature Request
|
||||||
description: Suggest an idea for this project
|
description: Suggest an idea for this project
|
||||||
labels: [enhancement]
|
labels: [feature]
|
||||||
assignees: []
|
assignees: []
|
||||||
body:
|
body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
28
.github/workflows/lock.yml
vendored
Normal file
28
.github/workflows/lock.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Lock Threads
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '5 3 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: lock
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
action:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: dessant/lock-threads@v4
|
||||||
|
with:
|
||||||
|
issue-inactive-days: '30'
|
||||||
|
issue-comment: >
|
||||||
|
I'm going to lock this issue because it has been closed for _30 days_. ⏳
|
||||||
|
This helps our maintainers find and focus on the active issues.
|
||||||
|
If you have found a problem that seems similar to this, please open a new
|
||||||
|
issue and complete the issue template so we can capture all the details
|
||||||
|
necessary to investigate further.
|
||||||
|
process-only: 'issues'
|
16
.github/workflows/no-response.yml
vendored
Normal file
16
.github/workflows/no-response.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: No Response
|
||||||
|
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
schedule:
|
||||||
|
- cron: '10 * * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
noResponse:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: lee-dohm/no-response@v0.5.0
|
||||||
|
with:
|
||||||
|
token: ${{ github.token }}
|
||||||
|
responseRequiredLabel: waiting on op
|
Loading…
Reference in New Issue
Block a user