-
Notifications
You must be signed in to change notification settings - Fork 18
27 lines (26 loc) · 898 Bytes
/
Copy pathlock.yaml
File metadata and controls
27 lines (26 loc) · 898 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 threads"
permissions:
issues: write
pull-requests: write
discussions: write
on:
workflow_dispatch:
schedule:
- cron: "37 2 * * *"
jobs:
lock:
runs-on: ubuntu-26.04
timeout-minutes: 15 # longest run seen: 2 min
steps:
# Pinned to a commit, not to `@patch-1`: a branch ref is mutable, so
# anything landing on that branch would run here with write access to
# issues, pull requests and discussions.
- uses: krlmlr/lock-threads@cf0b2ef2052cc3189765bb2e9c24033039bbfab8 # patch-1
with:
github-token: ${{ github.token }}
issue-inactive-days: "365"
issue-lock-reason: ""
issue-comment: >
This old thread has been automatically locked. If you think you have
found something related to this, please open a new issue and link to this
old issue if necessary.