Skip to content

Commit 8939a58

Browse files
Link to rules about alert location from rulesets docs (#57670)
1 parent 327105a commit 8939a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/code-security/code-scanning/managing-your-code-scanning-configuration/set-code-scanning-merge-protection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ topics:
1919
> [!NOTE]
2020
> * Merge protection with rulesets is not related to status checks. For more information about status checks, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).
2121
> * Merge protection with rulesets will not apply to merge queue groups or {% data variables.product.prodname_dependabot %} pull requests analyzed by default setup.
22+
> * All the lines of code identified by an alert must exist in the pull request diff. For more information, see [AUTOTITLE](/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#specifying-the-location-for-source-files).
2223
2324
You can use rulesets to prevent pull requests from being merged when one of the following conditions is met:
2425

0 commit comments

Comments
 (0)