diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 56f8334..9bdb42e 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -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 diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..dd44972 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8108caf..c6618f4 100644 --- a/CHANGELOG.md +++ b/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))