Skip to content

Commit

Permalink
Update activity.md (#1538)
Browse files Browse the repository at this point in the history
Updated title to reflect that Trusty score will be more than activity over time; updated copy to reflect user can set threshold.

Consider changing the option in the code from `pi_threshold` to "trusty_threshold' (and then update this doc) - but not urgent.
  • Loading branch information
eryn-muetzel authored Nov 6, 2023
1 parent 31b3469 commit aa79a4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/docs/ref/rules/activity.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
title: Activity Score
title: Trusty Score
sidebar_position: 20
---

# Activity Score Threshold Rule
# Trusty Score Threshold Rule

The following rule type is available for [Trusty](https://www.trustypkg.dev/) activity score threshold.
The following rule type is available for [Trusty](https://www.trustypkg.dev/) score threshold.

## `pr_trusty_check` - Verifies that pull requests do not add any dependencies with low Trusty scores
## `pr_trusty_check` - Verifies that pull requests do not add any dependencies with Trusty scores below a certain threshold

This rule allows you to monitor new Pull requests for newly added dependencies with low
This rule allows you to monitor new pull requests for newly added dependencies with low
[Trusty](https://www.trustypkg.dev/) scores.
For every pull request submitted to a repository, this rule will check if the pull request adds a new dependency with
a low Trusty score. If a dependency with a low score is added, the PR will be commented on.
a Trusty score below a threshold that you define. If a dependency with a low score is added, the PR will be commented on.

## Entity
- `pull_request`
Expand Down

0 comments on commit aa79a4b

Please sign in to comment.