generated from evrone/go-clean-template
-
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.
* doc(readme): update readme (SKIP-RELEASE) * fix: change trigger * fix: trigger from pr message body * test: echo * test: echo * test: echo * test: echo * test: echo * test: echo * test: echo * test: echo * test: echo * test: echo
- Loading branch information
1 parent
e2b67b3
commit 5404c2d
Showing
3 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -15,5 +15,22 @@ jobs: | |
- name: PR Title Verify | ||
uses: satvik-s/[email protected] | ||
with: | ||
#pattern: '^(fix|feat|chore|doc|style|refactor|perf|revert|test): (?:\w+\b\W*){2,8}$' | ||
pattern: '^((fix|feat|refactor)(\(\w\))?: (\w+\s){2,8}(\[[A-Z]{2,3}-[0-9]*\]))|((revert|chore|doc|style|perf|test)(\(\w\))?: ([\w ()-]+)(\[[A-Z]{2,3}-[0-9]*\])?( \(SKIP-RELEASE\))?)$' | ||
pattern: '^(feat|chore|doc|fix|security|refactor|test|wip):[ ]?.{3,}$' | ||
|
||
- name: Check Body | ||
id: check-body | ||
uses: actions-ecosystem/action-regex-match@v2 | ||
with: | ||
text: ${{ github.event.pull_request.body }} | ||
regex: '^.*(TEST).*$' | ||
|
||
- name: Dump match | ||
run: | | ||
echo '${{ steps.check-body.outputs.match }}' | ||
- name: Comment | ||
if: ${{ steps.check-body.outputs.match == '' }} | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
message: | | ||
This is a test ! :wave: |
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