Skip to content

Commit

Permalink
Merge pull request #6 from kontrolplane/task/add-action-metadata-to-p…
Browse files Browse the repository at this point in the history
…revent-warnings

chore: add action metadata
  • Loading branch information
levivannoort authored Aug 12, 2024
2 parents 92502b9 + 3168143 commit deb253c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: validate pull request title
uses: kontrolplane/[email protected].1
uses: kontrolplane/[email protected].2
```
### Custom types
Expand All @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: validate pull request title
uses: kontrolplane/[email protected].1
uses: kontrolplane/[email protected].2
with:
types: "fix,feat,chore"
```
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: validate pull request title
uses: kontrolplane/[email protected].1
uses: kontrolplane/[email protected].2
with:
scopes: "api,lang,parser,package/.+"
```
10 changes: 10 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ branding:
runs:
using: "docker"
image: "Dockerfile"

inputs:
types:
description: 'Comma-separated list of valid commit types'
required: false
default: 'fix,feat,chore,docs,build,ci,refactor,perf,test'
scopes:
description: 'Comma-separated list of valid scopes'
required: false
default: ''

0 comments on commit deb253c

Please sign in to comment.