Skip to content

Commit

Permalink
Release 3.1.0
Browse files Browse the repository at this point in the history
* Upgrade action and packages to Node 20 (#126)
* Add support for ignored patterns (#124)
* Check commits instead of PR text for pull requests (#122)
* Refactor inputs as named parameters (#121)
* Update all dependencies (#120)
  • Loading branch information
mristin committed Feb 15, 2024
1 parent 2856207 commit 1c6c2f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check
uses: mristin/opinionated-commit-message@v3.0.1
uses: mristin/opinionated-commit-message@v3.1.0
```
## Checked Events
Expand Down Expand Up @@ -99,7 +99,7 @@ string in the workflow file. For example:
```yaml
steps:
- name: Check
uses: mristin/opinionated-commit-message@v3.0.1
uses: mristin/opinionated-commit-message@v3.1.0
with:
additional-verbs: 'chrusimusi, unit-test'
```
Expand All @@ -111,7 +111,7 @@ as input:
```yaml
steps:
- name: Check
uses: mristin/opinionated-commit-message@v3.0.1
uses: mristin/opinionated-commit-message@v3.1.0
with:
path-to-additional-verbs: 'src/additional-verbs.txt'
```
Expand Down Expand Up @@ -153,7 +153,7 @@ You can allow one-liner commit messages by setting the flag `allow-one-liners`:
```yaml
steps:
- name: Check
uses: mristin/opinionated-commit-message@v3.0.1
uses: mristin/opinionated-commit-message@v3.1.0
with:
allow-one-liners: 'true'
```
Expand Down Expand Up @@ -225,7 +225,7 @@ for pull requests you can either:
```yaml
steps:
- name: Check
uses: mristin/opinionated-commit-message@v3.0.1
uses: mristin/opinionated-commit-message@v3.1.0
with:
validate-pull-request-commits: 'true'
# Required for private repos
Expand All @@ -246,7 +246,7 @@ jobs:
# Make sure this you also have this line
contents: read
steps:
- uses: mristin/opinionated-commit-message@v3.0.1
- uses: mristin/opinionated-commit-message@v3.1.0
with:
validate-pull-request-commits: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -265,7 +265,7 @@ We provide an `enforce-sign-off` flag so that you can enforce the sign-off in th
```yaml
steps:
- name: Check
uses: mristin/opinionated-commit-message@v3.0.1
uses: mristin/opinionated-commit-message@v3.1.0
with:
enforce-sign-off: 'true'
```
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": "@mristin/opinionated-commit-message",
"version": "3.0.1",
"version": "3.1.0",
"description": "GitHub Action to check commit messages according to an opinionated style",
"keywords": [
"github",
Expand Down

0 comments on commit 1c6c2f4

Please sign in to comment.