mirror of
https://github.com/dessant/lock-threads.git
synced 2026-03-13 01:27:03 -04:00
chore: add upgrade guide
This commit is contained in:
15
.github/workflows/lock.yml
vendored
15
.github/workflows/lock.yml
vendored
@@ -3,12 +3,17 @@ name: 'Lock Threads'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
concurrency:
|
||||
group: lock
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v2
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-lock-inactive-days: '180'
|
||||
- uses: dessant/lock-threads@v3
|
||||
|
||||
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@@ -0,0 +1 @@
|
||||
*.md
|
||||
13
CHANGELOG.md
13
CHANGELOG.md
@@ -9,6 +9,19 @@ All notable changes to this project will be documented in this file. See [standa
|
||||
|
||||
* input parameter names have changed
|
||||
|
||||
Rename the following input parameters when upgrading from v2 to v3:
|
||||
|
||||
* `issue-lock-inactive-days` --> `issue-inactive-days`
|
||||
* `issue-exclude-created-before` --> `exclude-issue-created-before`
|
||||
* `issue-exclude-labels` --> `exclude-any-issue-labels`
|
||||
* `issue-lock-labels` --> `add-issue-labels`
|
||||
* `issue-lock-comment` --> `issue-comment`
|
||||
* `pr-lock-inactive-days` --> `pr-inactive-days`
|
||||
* `pr-exclude-created-before` --> `exclude-pr-created-before`
|
||||
* `pr-exclude-labels` --> `exclude-any-pr-labels`
|
||||
* `pr-lock-labels` --> `add-pr-labels`
|
||||
* `pr-lock-comment` --> `pr-comment`
|
||||
|
||||
### Features
|
||||
|
||||
* add new filtering and labeling options, update input parameter names ([26fd836](https://github.com/dessant/lock-threads/commit/26fd836f96f46625de24663c4dc2b84c8408fcb1))
|
||||
|
||||
Reference in New Issue
Block a user