Skip to content

Commit

Permalink
chore: add upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Sep 30, 2021
1 parent e460dfe commit 08e671b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.md
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 08e671b

Please sign in to comment.