BREAKING CHNAGE: Upgrade commit-check to v2.0.0 #433
Workflow file for this run
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: | |
| pull_request: | |
| branches: 'main' | |
| workflow_dispatch: | |
| jobs: | |
| commit-check: | |
| runs-on: ubuntu-latest | |
| permissions: # use permissions because of use 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 checks | |
| - uses: ./ # self test | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed for PR comments | |
| with: | |
| message: true | |
| branch: true | |
| author-name: true | |
| author-email: true | |
| job-summary: true | |
| pr-comments: ${{ github.event_name == 'pull_request' }} |