Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions .github/workflows/commit-message-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,4 @@ jobs:
- name: Run commit message check
id: bodylength
run: |
set +e
./scripts/git-check-commit-body-length.sh commit-message-file > result.log 2>&1
EXIT_CODE=$?
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
cat result.log

- name: Comment on PR if body length check failed
if: steps.bodylength.outputs.exit_code != '0'
uses: peter-evans/create-or-update-comment@v5
with:
issue-number: ${{ github.event.pull_request.number }}
body-path: ./result.log
reactions: confused
./scripts/git-check-commit-body-length.sh commit-message-file
14 changes: 1 addition & 13 deletions .github/workflows/verify-pr-prefix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,4 @@ jobs:
- name: Run commit message check
id: prefixcheck
run: |
set +e
./scripts/check-role-prefix.sh > result.log 2>&1
EXIT_CODE=$?
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
cat result.log

- name: Comment on PR if prefix check failed
if: steps.prefixcheck.outputs.exit_code != '0'
uses: peter-evans/create-or-update-comment@v5
with:
issue-number: ${{ github.event.pull_request.number }}
body-path: ./result.log
reactions: confused
./scripts/check-role-prefix.sh