-
-
Notifications
You must be signed in to change notification settings - Fork 39
27 lines (24 loc) · 608 Bytes
/
lock.yaml
File metadata and controls
27 lines (24 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
lock:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write # To lock issues
pull-requests: write # To lock PRs
steps:
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
with:
github-token: ${{ github.token }}
issue-inactive-days: "30"
issue-lock-reason: ""
pr-inactive-days: "1"
pr-lock-reason: ""