mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
0af2a7a9b7
In v3 several input parameters where renamed and since v4 it requires Node.js 16. This resolves warnings about Node.js 12 and `set-output` being deprecated and slated for removal in the `Lock threads` workflow.
26 lines
674 B
YAML
26 lines
674 B
YAML
name: 'Lock threads'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 18 * * 1'
|
|
# │ │ │ │ │
|
|
# min 0-59 ┘ │ │ │ └ weekday 0-6
|
|
# hour 0-23 ┘ │ └ month 1-12
|
|
# └ day 1-31
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lock:
|
|
permissions:
|
|
issues: write # for dessant/lock-threads to lock issues
|
|
pull-requests: write # for dessant/lock-threads to lock PRs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v4
|
|
with:
|
|
github-token: ${{ github.token }}
|
|
issue-inactive-days: '365'
|
|
pr-inactive-days: '365'
|
|
exclude-any-issue-labels: 'question, needs more info'
|