Repository navigation
fix: bugs in test script #27
This file contains hidden or 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
| name: Commit Check | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| commit-check: | |
| runs-on: ubuntu-latest | |
| permissions: # use permissions because use of pr-comments | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} # checkout PR HEAD commit | |
| fetch-depth: 0 # required for merge-base check | |
| - uses: commit-check/commit-check-action@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because use of pr-comments | |
| with: | |
| message: true | |
| branch: true | |
| author-name: false | |
| author-email: false | |
| commit-signoff: true | |
| merge-base: false | |
| imperative: false | |
| job-summary: true |