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
Welcome to the preview for code scanning option for repository rulesets!
A ruleset is a named list of rules that applies to a repository. Now, users can create a dedicated code scanning rule (as part of GitHub Ruleset functionality) to block Pull Requests merge while waiting for analysis from the tool and when code scanning alerts are found on the PR.
This discussion is the place to provide feedback and ask questions about code scanning option for ruleset.
Status
Code scanning option for ruleset is available to all customers on GitHub.com and will be available on GHAS 3.14
Capabilities
It is possible to configure code scanning merge protection with rulesets at the repository or organization levels and for repositories configured with either default setup or advanced setup. You can also use the REST API to set merge protection with rulesets.
You can use rulesets to prevent pull requests from being merged when one of the following conditions is met:
A required tool found a code scanning alert of a severity that is defined in a ruleset.
A required code scanning tool's analysis is still in progress.
A required code scanning tool is not configured for the repository.
Note: Merge protection with rulesets is not related to status checks. For more information about status checks, see about status checks.
To learn more about the feature, please refer to our documentation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Product Feedback
Welcome to the preview for code scanning option for repository rulesets!
A ruleset is a named list of rules that applies to a repository. Now, users can create a dedicated code scanning rule (as part of GitHub Ruleset functionality) to block Pull Requests merge while waiting for analysis from the tool and when code scanning alerts are found on the PR.
Read our announcement blog here
This discussion is the place to provide feedback and ask questions about code scanning option for ruleset.
Status
Code scanning option for ruleset is available to all customers on GitHub.com and will be available on GHAS 3.14
Capabilities
It is possible to configure code scanning merge protection with rulesets at the repository or organization levels and for repositories configured with either default setup or advanced setup. You can also use the REST API to set merge protection with rulesets.
You can use rulesets to prevent pull requests from being merged when one of the following conditions is met:
Note: Merge protection with rulesets is not related to status checks. For more information about status checks, see about status checks.
To learn more about the feature, please refer to our documentation.
Beta Was this translation helpful? Give feedback.
All reactions