Skip to content

fix: Checkout PR HEAD commit instead of merge commit #300

fix: Checkout PR HEAD commit instead of merge commit

fix: Checkout PR HEAD commit instead of merge commit #300

Workflow file for this run

name: Commit Check
on:
pull_request:
branches: 'main'
workflow_dispatch:
jobs:
commit-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./ # self test
with:
message: true
branch: true
author-name: true
author-email: true
commit-signoff: true
job-summary: true