-
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.
feat: update action conventional commits
BREAKING CHANGE: `extends` key in config file is now used for extending other config files ING-3232
- Loading branch information
1 parent
d7789f9
commit 27f8fe6
Showing
7 changed files
with
82 additions
and
20 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
.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,30 @@ | ||
# https://github.com/taskmedia/action-conventional-commits/tree/main | ||
name: Action Conventional Commits Taskmedia | ||
|
||
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: ${{ secrets.GITHUB_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: "feat|fix|docs|style|refactor|perf|test|chore" |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# https://github.com/webiny/action-conventional-commits | ||
name: Action Conventional Commits | ||
|
||
on: | ||
|
@@ -15,4 +16,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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# https://github.com/marketplace/actions/check-commit-message | ||
name: Check Commit Message | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check commit 🧪 | ||
uses: adityaa30/check-commit@master |
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,20 @@ | ||
# https://github.com/marketplace/actions/commit-quality-checker | ||
name: Beams Commit Message Checker | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check-commit-message: | ||
runs-on: ubuntu-latest | ||
name: Check commit message | ||
permissions: | ||
pull-requests: write # required to post pull request comments | ||
contents: read # required to read commit information | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Check commit message | ||
uses: actions/[email protected] |
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# | ||
name: Commitlint | ||
|
||
on: | ||
|
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