Skip to content

Commit

Permalink
Merge pull request #1 from chandru-iamneo/patch-1
Browse files Browse the repository at this point in the history
Update build.yml
  • Loading branch information
logesh-jarvis authored Feb 22, 2024
2 parents 98399cb + ba15741 commit 60f5331
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ jobs:
java-version: 17
- name: Move Pom.xml to Root
run: mv .github/workflows/pom.xml ./pom.xml

- name: Check Commit Message
run: |
if [[ "$(git log --format=%B -n 1)" == *"Submit-project-save-commit"* ]]; then
echo "Commit message contains 'Submit-project-save-commit', proceeding with the workflow."
else
echo "Commit message does not contain 'Submit-project-save-commit', skipping the workflow."
exit 78 # Exiting with a non-zero code to indicate skipping
fi
- name: Build and analyze
env:
GITHUB_TOKEN: badabeeddcc309774475bedbafbeeacbbathree
Expand Down

0 comments on commit 60f5331

Please sign in to comment.