Skip to content

Commit 08e671b

Browse files
committed
chore: add upgrade guide
1 parent e460dfe commit 08e671b

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

.github/workflows/lock.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ name: 'Lock Threads'
33
on:
44
schedule:
55
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
concurrency:
13+
group: lock
614

715
jobs:
8-
lock:
16+
action:
917
runs-on: ubuntu-latest
1018
steps:
11-
- uses: dessant/lock-threads@v2
12-
with:
13-
github-token: ${{ github.token }}
14-
issue-lock-inactive-days: '180'
19+
- uses: dessant/lock-threads@v3

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.md

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ All notable changes to this project will be documented in this file. See [standa
99

1010
* input parameter names have changed
1111

12+
Rename the following input parameters when upgrading from v2 to v3:
13+
14+
* `issue-lock-inactive-days` --> `issue-inactive-days`
15+
* `issue-exclude-created-before` --> `exclude-issue-created-before`
16+
* `issue-exclude-labels` --> `exclude-any-issue-labels`
17+
* `issue-lock-labels` --> `add-issue-labels`
18+
* `issue-lock-comment` --> `issue-comment`
19+
* `pr-lock-inactive-days` --> `pr-inactive-days`
20+
* `pr-exclude-created-before` --> `exclude-pr-created-before`
21+
* `pr-exclude-labels` --> `exclude-any-pr-labels`
22+
* `pr-lock-labels` --> `add-pr-labels`
23+
* `pr-lock-comment` --> `pr-comment`
24+
1225
### Features
1326

1427
* add new filtering and labeling options, update input parameter names ([26fd836](https://github.com/dessant/lock-threads/commit/26fd836f96f46625de24663c4dc2b84c8408fcb1))

0 commit comments

Comments
 (0)