chore: add upgrade guide

This commit is contained in:
dessant
2021-09-30 19:49:44 +03:00
parent e460dfeb36
commit 08e671be8a
3 changed files with 24 additions and 5 deletions

View File

@@ -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
View File

@@ -0,0 +1 @@
*.md

View File

@@ -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))