Skip to content

Commit f0c5269

Browse files
authored
fix: Checkout PR HEAD commit instead of merge commit (#72)
* update .gitignore file * fix: Update commit-check.yml
1 parent a64fe49 commit f0c5269

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/commit-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
ref: ${{ github.event.pull_request.head.sha }}
1315
- uses: ./ # self test
1416
with:
1517
message: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
venv/
2+
.venv/

0 commit comments

Comments
 (0)