Skip to content

Commit

Permalink
Chore: 1.6.0 release (#251)
Browse files Browse the repository at this point in the history
* chore: release notes etc. for 1.6

* trigger ci

* docs: improve release notes
  • Loading branch information
MorrisonCole authored Feb 5, 2022
1 parent ee832fa commit f40f817
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,38 @@ on:
# explicity override here so that PR titles are re-linted when the PR text content is edited.
#
# Possible values: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
types: [opened, edited, reopened]
types: [opened, edited, reopened, synchronize]

jobs:
pr-lint:
runs-on: ubuntu-latest
steps:
- uses: morrisoncole/pr-lint-action@v1.5.1
- uses: morrisoncole/pr-lint-action@v1.6.0
with:
title-regex: "#[eE][xX]-[0-9]+"
on-failed-regex-fail-action: false
on-failed-regex-request-changes: false
on-failed-regex-create-review: true
on-failed-regex-comment:
"This is just an example. Failed regex: `%regex%`!"
on-succeeded-regex-dismiss-review-comment:
"This is just an example. Success!"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
```
## Changelog
### v1.6.0
- Updated documentation to recommend running the action on PR `synchronize`
events too, so that the checks won't go stale.
- Fixes [#175](https://github.com/MorrisonCole/pr-lint-action/issues/175): can
now customize the success message when reviews are dismissed using
`on-succeeded-regex-dismiss-review-comment`.
- Fixes [#171](https://github.com/MorrisonCole/pr-lint-action/issues/171): run
action with Node 16.
- Upgrade dependencies.

### v1.5.1

Internal refactoring only:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pr-lint-action",
"version": "1.1.1",
"version": "1.6.0",
"description": "A GitHub Action to ensure that your PR title matches a given regex.",
"main": "lib/main.js",
"scripts": {
Expand Down

0 comments on commit f40f817

Please sign in to comment.