-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: update action conventional commits
feat: update action conventional commits ING-3232
- Loading branch information
1 parent
d7789f9
commit fa10dd0
Showing
3 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
.github/workflows/action-conventional-commits-taskmedia.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Action Conventional Commits | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Conventional Commits | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taskmedia/[email protected] | ||
with: | ||
# token to access GitHub API to receive PR commits | ||
# Default: ${{ github.token }} | ||
token: "" | ||
|
||
# skip merge commits | ||
# Default: true | ||
skip_merge: "" | ||
|
||
# skip revert commits | ||
# Default: true | ||
skip_revert: "" | ||
|
||
# allow different types in commit message | ||
# Default: fix|feat|revert | ||
types: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ jobs: | |
- uses: webiny/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional, for private repositories. | ||
allowed-commit-types: "feat,fix" # Optional, set if you want a subset of commit types to be allowed. | ||
allowed-commit-types: "feat,fix,docs,style,refactor,perf,test,chore" # Optional, set if you want a subset of commit types to be allowed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters