You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add a empty commit to main for testing
* feat: support merge-base option #85
* test: update commit-check.yml to debug
* test: checkout all branches and tags
* feat: add a empty commit to main for testing
* docs: update readme
* test: update merge_base regex
* fix: update .commit-check.yml
* docs: update README.md
- **Description**: check current branch is rebased onto target branch.
80
+
- Default: 'false'
81
+
82
+
> [!IMPORTANT]
83
+
> `merge-base` is an experimental feature. by default it's disable.
84
+
>
85
+
> To use this feature, you need fetch all history for all branches by setting `fetch-depth: 0` in `actions/checkout`.
86
+
75
87
### `dry-run`
76
88
77
89
- **Description**: run checks without failing. exit code is 0 otherwise is 1.
78
90
- Default: 'false'
79
91
80
92
### `job-summary`
81
93
82
-
- **Description**: display job summary to the workflow run
94
+
- **Description**: display job summary to the workflow run.
83
95
- Default: 'true'
84
96
85
97
### `pr-comments`
86
98
87
-
- **Description**: post results to the pull request comments
99
+
- **Description**: post results to the pull request comments.
88
100
- Default: 'false'
89
101
90
102
> [!IMPORTANT]
91
-
> `pr-comments` is an experimental feature. To use it you need to set `GITHUB_TOKEN` in the GitHub Action.
103
+
> `pr-comments` is an experimental feature. by default it's disable. To use it you need to set `GITHUB_TOKEN` in the GitHub Action.
92
104
>
93
-
> This feature currently doesn’t work with forked repositories. For more details, refer to issue [#77](https://github.com/commit-check/commit-check-action/issues/77)
105
+
> This feature currently doesn’t work with forked repositories. For more details, refer to issue [#77](https://github.com/commit-check/commit-check-action/issues/77).
94
106
95
107
Note: the default rule of above inputs is following [this configuration](https://github.com/commit-check/commit-check/blob/main/.commit-check.yml), if you want to customize just add your `.commit-check.yml` config file under your repository root directory.
0 commit comments