Skip to content

Commit 7ae61d9

Browse files
authored
fix: check what a pull request actually contains, and pin commit-check 2.17.0 (#277)
1 parent 41eb8cd commit 7ae61d9

5 files changed

Lines changed: 858 additions & 64 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v7
5454
with:
55-
fetch-depth: 0 # Required for merge-base checks
55+
fetch-depth: 0 # With a shallow clone only HEAD, the merge commit, is checked
5656
- uses: commit-check/commit-check-action@v2
5757
with:
5858
message: true
@@ -116,7 +116,8 @@ jobs:
116116

117117
### `dry-run`
118118

119-
- **Description**: run checks without failing. exit code is 0; otherwise is 1.
119+
- **Description**: report failures (job summary, PR comment, and annotations
120+
downgraded to warnings) but always exit 0, so the job never fails.
120121
- Default: `false`
121122

122123
### `job-summary`

‎action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ inputs:
2222
required: false
2323
default: false
2424
dry-run:
25-
description: run checks without failing
25+
description: report failures (summary, PR comment, annotations as warnings) but always exit 0
2626
required: false
2727
default: false
2828
job-summary:

0 commit comments

Comments
 (0)