Skip to content

Update commit-check.yml to test bug #400

Update commit-check.yml to test bug

Update commit-check.yml to test bug #400

Workflow file for this run

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 # fetch all history for all branches and tags
- uses: commit-check/commit-check-action@copilot/fix-58e2f213-6f3b-492c-8b06-7e433b9a715b
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because of use pr-comments
with:
message: true
branch: true
author-name: true
author-email: true
commit-signoff: true
merge-base: true
imperative: true
job-summary: true
pr-comments: ${{ github.event_name == 'pull_request' }}