Skip to content

Commit

Permalink
📖 👻 fix anchor link to the code review section (ossf#3058)
Browse files Browse the repository at this point in the history
* fix anchor link to code-review in checks.yaml

Signed-off-by: dasfreak <[email protected]>
Signed-off-by: Marc Ohm <[email protected]>

* generate checks.md

Signed-off-by: Marc Ohm <[email protected]>

---------

Signed-off-by: dasfreak <[email protected]>
Signed-off-by: Marc Ohm <[email protected]>
Signed-off-by: Allen Shearin <[email protected]>
  • Loading branch information
dasfreak authored and ashearin committed Nov 13, 2023
1 parent 2f08505 commit 773f151
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Different types of branch protection protect against different risks:
Although requiring code review can greatly reduce the chance that
unintentional or malicious code enters the "main" branch, it is not feasible for
all projects, such as those that don't have many active participants. For more
discussion, see [Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-reviews).
discussion, see [Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-review).

Additionally, in some cases these rules will need to be suspended. For example,
if a past commit includes illegal content such as child pornography, it may be
Expand Down Expand Up @@ -257,7 +257,7 @@ those contributors must have had at least 5 commits in the last 30 commits.
Note: Some projects cannot meet this requirement, such as small projects with
only one active participant, or projects with a narrow scope that cannot attract
the interest of multiple organizations. See
[Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-reviews)
[Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-review)
for more information about evaluating projects with a small number of
participants.

Expand Down
4 changes: 2 additions & 2 deletions docs/checks/internal/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ checks:
Although requiring code review can greatly reduce the chance that
unintentional or malicious code enters the "main" branch, it is not feasible for
all projects, such as those that don't have many active participants. For more
discussion, see [Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-reviews).
discussion, see [Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-review).
Additionally, in some cases these rules will need to be suspended. For example,
if a past commit includes illegal content such as child pornography, it may be
Expand Down Expand Up @@ -372,7 +372,7 @@ checks:
Note: Some projects cannot meet this requirement, such as small projects with
only one active participant, or projects with a narrow scope that cannot attract
the interest of multiple organizations. See
[Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-reviews)
[Code Reviews](https://github.com/ossf/scorecard/blob/main/docs/checks.md#code-review)
for more information about evaluating projects with a small number of
participants.
remediation:
Expand Down

0 comments on commit 773f151

Please sign in to comment.