File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments