Skip to content

Commit 4e5410a

Browse files
committed
chore: update code comments
1 parent 70a31f4 commit 4e5410a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/commit-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v5
1616
with:
17-
ref: ${{ github.event.pull_request.head.sha }} # checkout PR HEAD commit
18-
fetch-depth: 0 # fetch all history for all branches and tags
17+
ref: ${{ github.event.pull_request.head.sha }} # Checkout PR HEAD commit
18+
fetch-depth: 0 # Required for merge-base checks
1919
- uses: ./ # self test
2020
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because of use pr-comments
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed for PR comments
2222
with:
2323
message: true
2424
branch: true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v5
4040
with:
41-
ref: ${{ github.event.pull_request.head.sha }} # checkout PR HEAD commit
42-
fetch-depth: 0 # required for merge-base check
41+
ref: ${{ github.event.pull_request.head.sha }} # Checkout PR HEAD commit
42+
fetch-depth: 0 # Required for merge-base checks
4343
- uses: commit-check/commit-check-action@v2
4444
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because use of pr-comments
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed for PR comments
4646
with:
4747
message: true
4848
branch: true

0 commit comments

Comments
 (0)