diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab64a51..cdda4c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,15 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 + - name: Show Commit Message + id: showcommit + run: git log -1 --pretty=format:"%s" + + - name: Compare Commit Message + id: comparecommit + run: if [[ $(git log -1 --pretty=format:"%s") =~ "[skip release]" ]]; then echo 'match'; else echo 'no match'; fi + + - name: Set up JDK 8 uses: actions/setup-java@v3 with: