Skip to content

Commit

Permalink
[qa] Commit check now work on github actions #163
Browse files Browse the repository at this point in the history
Closes #163
  • Loading branch information
praptisharma28 committed Nov 25, 2023
1 parent 746b146 commit 75a9034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwisp-qa-check
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ runblack() {

runcheckcommit() {
if [ -z "$COMMIT_MESSAGE" ]; then COMMIT_MESSAGE=$(git log -1 --pretty=%B); fi
if [ "$TRAVIS" = true ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
if [ "$GITHUB_ACTIONS" = true ] && [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
echo "SKIPPED: Commit message check skipped!"
else
checkcommit --message "$COMMIT_MESSAGE" &&
Expand Down

0 comments on commit 75a9034

Please sign in to comment.