mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 21:43:55 +08:00
6669240f81
We've been getting a bunch of comments on old closed issues. Instead people should create new ones. This adds a github "workflow" that should lock closed issues/prs after 90 days, except those labelled "question". Let's see how it works out.
17 lines
333 B
YAML
17 lines
333 B
YAML
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: '90'
|
|
pr-lock-inactive-days: '90'
|
|
issue-exclude-labels: 'question'
|