mirror of
https://github.com/peakoss/anti-slop
synced 2026-11-28 13:37:41 +08:00
docs(input): cleanup input descriptions
This commit is contained in:
2 files changed
+79
-79
No files matched your search
@@ -193,65 +193,65 @@ The only required input is `github-token` and it is automatically set to the wor
|
||||
|
||||
### Inputs
|
||||
|
||||
| Input | Description | Default |
|
||||
| ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
||||
| [`github-token`](#github-token) | GitHub token used to authenticate API requests. | `${{ github.token }}` |
|
||||
| [`max-failures`](#max-failures) | Number of check failures needed before failure actions are triggered (between 1 and 25). | `4` |
|
||||
| [`allowed-target-branches`](#allowed-target-branches) | Newline-separated target branch patterns to allow. Empty allows all branches. | `""` |
|
||||
| [`blocked-target-branches`](#blocked-target-branches) | Newline-separated target branch patterns to block. | `""` |
|
||||
| [`allowed-source-branches`](#allowed-source-branches) | Newline-separated source branch patterns to allow. Empty allows all branches. | `""` |
|
||||
| [`blocked-source-branches`](#blocked-source-branches) | Newline-separated source branch patterns to block. | `main`, `master` |
|
||||
| [`max-changed-files`](#max-changed-files) | Maximum number of changed files allowed in the PR. 0 disables this check. | `50` |
|
||||
| [`max-changed-lines`](#max-changed-lines) | Maximum number of changed lines (additions + deletions) allowed in the PR. 0 disables this check. | `10000` |
|
||||
| [`max-negative-reactions`](#max-negative-reactions) | Maximum number of negative reactions (thumbs down + confused) allowed on the PR. 0 disables this check. | `0` |
|
||||
| [`require-maintainer-can-modify`](#require-maintainer-can-modify) | Require the PR to allow maintainers to push to the source branch. | `true` |
|
||||
| [`require-conventional-title`](#require-conventional-title) | Require PR titles to follow Conventional Commits format (e.g. 'feat:', 'fix:', 'feat(scope):'). | `false` |
|
||||
| [`require-description`](#require-description) | Require a non-empty PR description. | `true` |
|
||||
| [`max-description-length`](#max-description-length) | Maximum allowed character length for the PR description. 0 disables this check. | `2500` |
|
||||
| [`max-emoji-count`](#max-emoji-count) | Maximum number of emojis allowed in the PR title and description. 0 disables this check. | `2` |
|
||||
| [`max-code-references`](#max-code-references) | Maximum number of code references (file paths, function calls, method calls) allowed in the PR description. 0 disables this check. | `5` |
|
||||
| [`require-linked-issue`](#require-linked-issue) | Require the PR to reference at least one issue in the PR description. | `false` |
|
||||
| [`blocked-terms`](#blocked-terms) | Newline-separated list of terms blocked from appearing in the PR description. | `""` |
|
||||
| [`blocked-issue-numbers`](#blocked-issue-numbers) | Comma-separated list of issue numbers blocked from being referenced in the PR description. | `""` |
|
||||
| [`require-pr-template`](#require-pr-template) | Require the PR description to follow the repository PR template structure. | `false` |
|
||||
| [`strict-pr-template-sections`](#strict-pr-template-sections) | Comma-separated list of PR template section headings (without the '#' prefix) classified as strict. All checkboxes in strict sections must be present and checked. Only applies when require-pr-template is enabled. | `""` |
|
||||
| [`optional-pr-template-sections`](#optional-pr-template-sections) | Comma-separated list of PR template section headings (without the '#' prefix) classified as optional. Optional sections can be entirely removed from the PR description without failing the check. Only applies when require-pr-template is enabled. | `""` |
|
||||
| [`max-additional-pr-template-sections`](#max-additional-pr-template-sections) | Maximum number of additional sections not in the template that are allowed in the PR description. 0 disables this check. | `0` |
|
||||
| [`max-commit-message-length`](#max-commit-message-length) | Maximum allowed character length for individual commit messages. 0 disables this check. | `500` |
|
||||
| [`require-conventional-commits`](#require-conventional-commits) | Require all commit messages to follow Conventional Commits format (e.g. 'feat:', 'fix:', 'feat(scope):'). | `false` |
|
||||
| [`require-commit-author-match`](#require-commit-author-match) | Require every commit in the PR to be authored by the same GitHub user who opened the PR. | `true` |
|
||||
| [`blocked-commit-authors`](#blocked-commit-authors) | Comma-separated list of blocked commit author usernames. | `""` |
|
||||
| [`allowed-file-extensions`](#allowed-file-extensions) | Comma-separated list of allowed file extensions (e.g. '.ts,.js') for changed files. Empty allows all. | `""` |
|
||||
| [`allowed-paths`](#allowed-paths) | Newline-separated file or folder paths to allow for changed files. Entries ending with '/' match folders. Empty allows all. | `""` |
|
||||
| [`blocked-paths`](#blocked-paths) | Newline-separated file or folder paths to block for changed files. Entries ending with '/' match folders. | `README.md`, `SECURITY.md`, `LICENSE`, `CODE_OF_CONDUCT.md` |
|
||||
| [`require-final-newline`](#require-final-newline) | Require all changed files to end with a newline character. | `true` |
|
||||
| [`max-added-comments`](#max-added-comments) | Maximum number of added comments in all changed files. 0 disables this check. | `10` |
|
||||
| [`detect-spam-usernames`](#detect-spam-usernames) | Detect usernames that match common spam patterns. | `true` |
|
||||
| [`min-account-age`](#min-account-age) | Minimum GitHub account age in days (1-190). 0 disables this check. | `30` |
|
||||
| [`max-daily-forks`](#max-daily-forks) | Maximum number of forked repositories by the user in any 24-hour window. 0 disables this check. | `6` |
|
||||
| [`require-public-profile`](#require-public-profile) | Require the PR author to have a public GitHub profile. | `true` |
|
||||
| [`min-profile-completeness`](#min-profile-completeness) | Minimum number of profile signals (out of 10) the user must have to pass. Checks name, company, blog, location, email, hireable, bio, twitter, followers and following. 0 disables this check. | `4` |
|
||||
| [`min-repo-merged-prs`](#min-repo-merged-prs) | Minimum number of merged PRs in this repository required from the author. 0 disables this check. | `0` |
|
||||
| [`min-repo-merge-ratio`](#min-repo-merge-ratio) | Minimum merged/closed PR ratio in this repository (1-100%). 0 disables this check. | `0` |
|
||||
| [`min-global-merge-ratio`](#min-global-merge-ratio) | Minimum merged/closed PR ratio across all GitHub repositories (1-100%). 0 disables this check. | `30` |
|
||||
| [`global-merge-ratio-exclude-own`](#global-merge-ratio-exclude-own) | Exclude PRs to the author's own repositories from the global merge ratio calculation. | `false` |
|
||||
| [`exempt-draft-prs`](#exempt-draft-prs) | Exempt draft PRs from all checks. | `false` |
|
||||
| [`exempt-bots`](#exempt-bots) | Newline-separated list of bot usernames exempt from all checks. | `actions-user`, `autofix-ci[bot]`, `dependabot[bot]`, `renovate[bot]`, `github-actions[bot]` |
|
||||
| [`exempt-users`](#exempt-users) | Comma-separated list of GitHub usernames exempt from all checks. | `""` |
|
||||
| [`exempt-author-association`](#exempt-author-association) | Comma-separated list of GitHub author associations exempt from all checks. | `OWNER,MEMBER,COLLABORATOR` |
|
||||
| [`exempt-label`](#exempt-label) | Label name that exempts PRs and Issues from all checks when it is present. | `exempt` |
|
||||
| [`exempt-pr-label`](#exempt-pr-label) | Label name that exempts PRs from all checks when it is present. | `""` |
|
||||
| [`exempt-all-milestones`](#exempt-all-milestones) | Exempt all PRs and Issues that are assigned to any milestone. | `false` |
|
||||
| [`exempt-all-pr-milestones`](#exempt-all-pr-milestones) | Exempt all PRs that are assigned to any milestone. | `false` |
|
||||
| [`exempt-milestones`](#exempt-milestones) | Comma-separated list of milestone titles. PRs and Issues assigned to any listed milestone are exempt. | `""` |
|
||||
| [`exempt-pr-milestones`](#exempt-pr-milestones) | Comma-separated list of milestone titles. PRs assigned to any listed milestone are exempt. | `""` |
|
||||
| [`success-add-pr-labels`](#success-add-pr-labels) | Comma-separated list of labels to add to the PR on success. | `""` |
|
||||
| [`failure-remove-pr-labels`](#failure-remove-pr-labels) | Comma-separated list of labels to remove from the PR on failure. | `""` |
|
||||
| [`failure-remove-all-pr-labels`](#failure-remove-all-pr-labels) | Remove all labels from the PR on failure. | `false` |
|
||||
| [`failure-add-pr-labels`](#failure-add-pr-labels) | Comma-separated list of labels to add to the PR on failure. | `""` |
|
||||
| [`failure-pr-message`](#failure-pr-message) | Comment posted on the PR when the maximum number of failures is reached. Empty posts no comment. | `""` |
|
||||
| [`close-pr`](#close-pr) | Close the PR when the maximum number of failures is reached. | `true` |
|
||||
| [`lock-pr`](#lock-pr) | Lock the PR conversation after closing. | `false` |
|
||||
| Input | Description | Default |
|
||||
| ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
||||
| [`github-token`](#github-token) | GitHub token used to authenticate API requests. | `${{ github.token }}` |
|
||||
| [`max-failures`](#max-failures) | Number of check failures needed before failure actions are triggered. | `4` |
|
||||
| [`allowed-target-branches`](#allowed-target-branches) | Newline-separated target branch patterns to allow. Empty allows all branches. | `""` |
|
||||
| [`blocked-target-branches`](#blocked-target-branches) | Newline-separated target branch patterns to block. | `""` |
|
||||
| [`allowed-source-branches`](#allowed-source-branches) | Newline-separated source branch patterns to allow. Empty allows all branches. | `""` |
|
||||
| [`blocked-source-branches`](#blocked-source-branches) | Newline-separated source branch patterns to block. | `main`, `master` |
|
||||
| [`max-changed-files`](#max-changed-files) | Maximum number of changed files allowed in the PR. 0 disables this check. | `50` |
|
||||
| [`max-changed-lines`](#max-changed-lines) | Maximum number of changed lines (additions + deletions) allowed in the PR. 0 disables this check. | `10000` |
|
||||
| [`max-negative-reactions`](#max-negative-reactions) | Maximum number of negative reactions (thumbs down + confused) allowed on the PR. 0 disables this check. | `0` |
|
||||
| [`require-maintainer-can-modify`](#require-maintainer-can-modify) | Require the PR to allow maintainers to push to the source branch. | `true` |
|
||||
| [`require-conventional-title`](#require-conventional-title) | Require PR titles to follow Conventional Commits format (e.g. 'feat:', 'fix:', 'feat(scope):'). | `false` |
|
||||
| [`require-description`](#require-description) | Require a non-empty PR description. | `true` |
|
||||
| [`max-description-length`](#max-description-length) | Maximum character length for the PR description. 0 disables this check. | `2500` |
|
||||
| [`max-emoji-count`](#max-emoji-count) | Maximum number of emojis allowed in the PR title and description. 0 disables this check. | `2` |
|
||||
| [`max-code-references`](#max-code-references) | Maximum number of code references (file paths, function/method calls) allowed in the PR description. 0 disables this check. | `5` |
|
||||
| [`require-linked-issue`](#require-linked-issue) | Require the PR to reference at least one issue in the PR description. | `false` |
|
||||
| [`blocked-terms`](#blocked-terms) | Newline-separated list of terms blocked from appearing in the PR description. | `""` |
|
||||
| [`blocked-issue-numbers`](#blocked-issue-numbers) | Comma-separated list of issue numbers blocked from being referenced in the PR description. | `""` |
|
||||
| [`require-pr-template`](#require-pr-template) | Require the PR description to follow the repository PR template structure. | `false` |
|
||||
| [`strict-pr-template-sections`](#strict-pr-template-sections) | Comma-separated PR template section headings (without '#') classified as strict. All checkboxes must be present and checked. Only applies when require-pr-template is enabled. | `""` |
|
||||
| [`optional-pr-template-sections`](#optional-pr-template-sections) | Comma-separated PR template section headings (without '#') classified as optional. Can be removed from the description without failing the check. Only applies when require-pr-template is enabled. | `""` |
|
||||
| [`max-additional-pr-template-sections`](#max-additional-pr-template-sections) | Maximum number of additional sections not in the template that are allowed in the PR description. 0 disables this check. | `0` |
|
||||
| [`max-commit-message-length`](#max-commit-message-length) | Maximum character length for individual commit messages. 0 disables this check. | `500` |
|
||||
| [`require-conventional-commits`](#require-conventional-commits) | Require all commit messages to follow Conventional Commits format (e.g. 'feat:', 'fix:', 'feat(scope):'). | `false` |
|
||||
| [`require-commit-author-match`](#require-commit-author-match) | Require every commit in the PR to be authored by the same GitHub user who opened the PR. | `true` |
|
||||
| [`blocked-commit-authors`](#blocked-commit-authors) | Comma-separated list of blocked commit author usernames. | `""` |
|
||||
| [`allowed-file-extensions`](#allowed-file-extensions) | Comma-separated list of allowed file extensions (e.g. '.ts,.js') for changed files. Empty allows all. | `""` |
|
||||
| [`allowed-paths`](#allowed-paths) | Newline-separated file or folder paths to allow for changed files. Entries ending with '/' match folders. Empty allows all. | `""` |
|
||||
| [`blocked-paths`](#blocked-paths) | Newline-separated file or folder paths to block for changed files. Entries ending with '/' match folders. | `README.md`, `SECURITY.md`, `LICENSE`, `CODE_OF_CONDUCT.md` |
|
||||
| [`require-final-newline`](#require-final-newline) | Require all changed files to end with a newline character. | `true` |
|
||||
| [`max-added-comments`](#max-added-comments) | Maximum number of added comments in all changed files. 0 disables this check. | `10` |
|
||||
| [`detect-spam-usernames`](#detect-spam-usernames) | Detect usernames that match common spam patterns. | `true` |
|
||||
| [`min-account-age`](#min-account-age) | Minimum GitHub account age in days. 0 disables this check. | `30` |
|
||||
| [`max-daily-forks`](#max-daily-forks) | Maximum number of repositories forked by the user in any 24-hour window. 0 disables this check. | `6` |
|
||||
| [`require-public-profile`](#require-public-profile) | Require the PR author to have a public GitHub profile. | `true` |
|
||||
| [`min-profile-completeness`](#min-profile-completeness) | Minimum number of profile signals (name, email, bio, etc.) the user must have to pass. 0 disables this check. | `4` |
|
||||
| [`min-repo-merged-prs`](#min-repo-merged-prs) | Minimum number of merged PRs in this repository from the author. 0 disables this check. | `0` |
|
||||
| [`min-repo-merge-ratio`](#min-repo-merge-ratio) | Minimum merge/close PR ratio percentage in this repository. 0 disables this check. | `0` |
|
||||
| [`min-global-merge-ratio`](#min-global-merge-ratio) | Minimum merge/close PR ratio percentage across all repositories. 0 disables this check. | `30` |
|
||||
| [`global-merge-ratio-exclude-own`](#global-merge-ratio-exclude-own) | Exclude PRs to the author's own repositories from the global merge ratio calculation. | `false` |
|
||||
| [`exempt-draft-prs`](#exempt-draft-prs) | Exempt draft PRs from all checks. | `false` |
|
||||
| [`exempt-bots`](#exempt-bots) | Newline-separated list of bot usernames exempt from all checks. | `actions-user`, `autofix-ci[bot]`, `dependabot[bot]`, `renovate[bot]`, `github-actions[bot]` |
|
||||
| [`exempt-users`](#exempt-users) | Comma-separated list of GitHub usernames exempt from all checks. | `""` |
|
||||
| [`exempt-author-association`](#exempt-author-association) | Comma-separated list of GitHub author associations exempt from all checks. | `OWNER,MEMBER,COLLABORATOR` |
|
||||
| [`exempt-label`](#exempt-label) | Label name that exempts PRs and Issues from all checks when it is present. | `exempt` |
|
||||
| [`exempt-pr-label`](#exempt-pr-label) | Label name that exempts PRs from all checks when it is present. | `""` |
|
||||
| [`exempt-all-milestones`](#exempt-all-milestones) | Exempt all PRs and Issues that are assigned to any milestone. | `false` |
|
||||
| [`exempt-all-pr-milestones`](#exempt-all-pr-milestones) | Exempt all PRs that are assigned to any milestone. | `false` |
|
||||
| [`exempt-milestones`](#exempt-milestones) | Comma-separated list of milestone titles. PRs and Issues assigned to any listed milestone are exempt. | `""` |
|
||||
| [`exempt-pr-milestones`](#exempt-pr-milestones) | Comma-separated list of milestone titles. PRs assigned to any listed milestone are exempt. | `""` |
|
||||
| [`success-add-pr-labels`](#success-add-pr-labels) | Comma-separated list of labels to add to the PR on success. | `""` |
|
||||
| [`failure-remove-pr-labels`](#failure-remove-pr-labels) | Comma-separated list of labels to remove from the PR on failure. | `""` |
|
||||
| [`failure-remove-all-pr-labels`](#failure-remove-all-pr-labels) | Remove all labels from the PR on failure. | `false` |
|
||||
| [`failure-add-pr-labels`](#failure-add-pr-labels) | Comma-separated list of labels to add to the PR on failure. | `""` |
|
||||
| [`failure-pr-message`](#failure-pr-message) | Comment posted on the PR when the maximum number of failures is reached. Empty posts no comment. | `""` |
|
||||
| [`close-pr`](#close-pr) | Close the PR when the maximum number of failures is reached. | `true` |
|
||||
| [`lock-pr`](#lock-pr) | Lock the PR conversation after closing. | `false` |
|
||||
|
||||
### Outputs
|
||||
|
||||
@@ -379,7 +379,7 @@ Default: `true`
|
||||
|
||||
### max-description-length
|
||||
|
||||
Maximum allowed character length for the PR description. If the description exceeds this length, the `max-description-length` check fails.
|
||||
Maximum character length for the PR description. If the description exceeds this length, the `max-description-length` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
@@ -399,7 +399,7 @@ Default: `2`
|
||||
|
||||
### max-code-references
|
||||
|
||||
Maximum number of code references (file paths, function calls, method calls) allowed in the PR description. If the count exceeds this threshold, the `max-code-references` check fails.
|
||||
Maximum number of code references (file paths, function/method calls) allowed in the PR description. If the count exceeds this threshold, the `max-code-references` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
@@ -467,7 +467,7 @@ Default: `0` (disabled)
|
||||
|
||||
### max-commit-message-length
|
||||
|
||||
Maximum allowed character length for individual commit messages. If any commit message exceeds this length, the `max-commit-message-length` check fails.
|
||||
Maximum character length for individual commit messages. If any commit message exceeds this length, the `max-commit-message-length` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
@@ -523,7 +523,7 @@ Default: `""` (all paths allowed)
|
||||
|
||||
Newline-separated list of file or folder paths to block for changed files. Entries ending with `/` match entire folders. If any changed file matches one of these entries, the `blocked-paths` check fails.
|
||||
|
||||
The default blocks common repository metadata files that are frequent targets for slop PRs — trivial edits to README, LICENSE, SECURITY, or CODE_OF_CONDUCT files are a classic pattern.
|
||||
The default blocks common repository metadata files that are frequent targets for slop PRs - trivial edits to README, LICENSE, SECURITY, or CODE_OF_CONDUCT files are a classic pattern.
|
||||
|
||||
If the same path appears in both [`allowed-paths`](#allowed-paths) and `blocked-paths`, **the blocked list takes precedence** and changes to that path will always be blocked.
|
||||
|
||||
@@ -553,7 +553,7 @@ Default: `true`
|
||||
|
||||
### min-account-age
|
||||
|
||||
Minimum GitHub account age in days (1–190). If the PR author's account is newer than this many days, the `min-account-age` check fails.
|
||||
Minimum GitHub account age in days. If the PR author's account is newer than this many days, the `min-account-age` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
@@ -593,7 +593,7 @@ Default: `4`
|
||||
|
||||
### min-repo-merged-prs
|
||||
|
||||
Minimum number of previously merged PRs in this repository required from the PR author. If the author has fewer than this many merged PRs, the `min-repo-merged-prs` check fails.
|
||||
Minimum previously merged PRs in this repository required from the PR author. If the author has fewer than this many merged PRs, the `min-repo-merged-prs` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
@@ -603,7 +603,7 @@ Default: `0` (disabled)
|
||||
|
||||
### min-repo-merge-ratio
|
||||
|
||||
Minimum merged to closed PR ratio in this repository, expressed as a percentage (1–100). If the author's ratio of merged PRs to total closed PRs in this repo falls below this threshold, the `min-repo-merge-ratio` check fails.
|
||||
Minimum merge/close PR ratio percentage in this repository. If the author's ratio of merged PRs to total closed PRs in this repo falls below this threshold, the `min-repo-merge-ratio` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
@@ -615,7 +615,7 @@ Default: `0` (disabled)
|
||||
|
||||
### min-global-merge-ratio
|
||||
|
||||
Minimum merged to closed PR ratio across all public GitHub repositories, expressed as a percentage (1–100). If the author's global ratio of merged PRs to total closed PRs falls below this threshold, the `min-global-merge-ratio` check fails.
|
||||
Minimum merge/close PR ratio percentage across all public GitHub repositories. If the author's global ratio of merged PRs to total closed PRs falls below this threshold, the `min-global-merge-ratio` check fails.
|
||||
|
||||
Set to `0` to disable this check entirely.
|
||||
|
||||
|
||||
+12
-12
@@ -15,7 +15,7 @@ inputs:
|
||||
|
||||
# General Settings
|
||||
max-failures:
|
||||
description: Number of check failures needed before failure actions are triggered (between 1 and 25).
|
||||
description: Number of check failures needed before failure actions are triggered.
|
||||
required: false
|
||||
default: "4"
|
||||
|
||||
@@ -71,7 +71,7 @@ inputs:
|
||||
required: false
|
||||
default: "true"
|
||||
max-description-length:
|
||||
description: Maximum allowed character length for the PR description. 0 disables this check.
|
||||
description: Maximum character length for the PR description. 0 disables this check.
|
||||
required: false
|
||||
default: "2500"
|
||||
max-emoji-count:
|
||||
@@ -79,7 +79,7 @@ inputs:
|
||||
required: false
|
||||
default: "2"
|
||||
max-code-references:
|
||||
description: Maximum number of code references (file paths, function calls, method calls) allowed in the PR description. 0 disables this check.
|
||||
description: Maximum number of code references (file paths, function/method calls) allowed in the PR description. 0 disables this check.
|
||||
required: false
|
||||
default: "5"
|
||||
require-linked-issue:
|
||||
@@ -101,11 +101,11 @@ inputs:
|
||||
required: false
|
||||
default: "false"
|
||||
strict-pr-template-sections:
|
||||
description: Comma-separated list of PR template section headings (without the '#' prefix) classified as strict. All checkboxes in strict sections must be present and checked. Only applies when require-pr-template is enabled.
|
||||
description: Comma-separated PR template section headings (without '#') classified as strict. All checkboxes must be present and checked. Only applies when require-pr-template is enabled.
|
||||
required: false
|
||||
default: ""
|
||||
optional-pr-template-sections:
|
||||
description: Comma-separated list of PR template section headings (without the '#' prefix) classified as optional. Optional sections can be entirely removed from the PR description without failing the check. Only applies when require-pr-template is enabled.
|
||||
description: Comma-separated PR template section headings (without '#') classified as optional. Can be removed from the description without failing the check. Only applies when require-pr-template is enabled.
|
||||
required: false
|
||||
default: ""
|
||||
max-additional-pr-template-sections:
|
||||
@@ -115,7 +115,7 @@ inputs:
|
||||
|
||||
# Commit Message Checks
|
||||
max-commit-message-length:
|
||||
description: Maximum allowed character length for individual commit messages. 0 disables this check.
|
||||
description: Maximum character length for individual commit messages. 0 disables this check.
|
||||
required: false
|
||||
default: "500"
|
||||
require-conventional-commits:
|
||||
@@ -163,11 +163,11 @@ inputs:
|
||||
required: false
|
||||
default: "true"
|
||||
min-account-age:
|
||||
description: Minimum GitHub account age in days (1-190). 0 disables this check.
|
||||
description: Minimum GitHub account age in days. 0 disables this check.
|
||||
required: false
|
||||
default: "30"
|
||||
max-daily-forks:
|
||||
description: Maximum number of forked repositories by the user in any 24-hour window. 0 disables this check.
|
||||
description: Maximum number of repositories forked by the user in any 24-hour window. 0 disables this check.
|
||||
required: false
|
||||
default: "6"
|
||||
require-public-profile:
|
||||
@@ -175,21 +175,21 @@ inputs:
|
||||
required: false
|
||||
default: "true"
|
||||
min-profile-completeness:
|
||||
description: Minimum number of profile signals (out of 10) the user must have to pass. Checks name, company, blog, location, email, hireable, bio, twitter, followers and following. 0 disables this check.
|
||||
description: Minimum number of profile signals (name, email, bio, etc.) the user must have to pass. 0 disables this check.
|
||||
required: false
|
||||
default: "4"
|
||||
|
||||
# Merge Checks
|
||||
min-repo-merged-prs:
|
||||
description: Minimum number of merged PRs in this repository required from the author. 0 disables this check.
|
||||
description: Minimum number of merged PRs in this repository from the author. 0 disables this check.
|
||||
required: false
|
||||
default: "0"
|
||||
min-repo-merge-ratio:
|
||||
description: Minimum merged/closed PR ratio in this repository (1-100%). 0 disables this check.
|
||||
description: Minimum merge/close PR ratio percentage in this repository. 0 disables this check.
|
||||
required: false
|
||||
default: "0"
|
||||
min-global-merge-ratio:
|
||||
description: Minimum merged/closed PR ratio across all GitHub repositories (1-100%). 0 disables this check.
|
||||
description: Minimum merge/close PR ratio percentage across all repositories. 0 disables this check.
|
||||
required: false
|
||||
default: "30"
|
||||
global-merge-ratio-exclude-own:
|
||||
|
||||
Reference in new issue
Block a user