Skip to content

Commit

Permalink
Merge pull request #1009 from jhrozek/misc
Browse files Browse the repository at this point in the history
Fix example YAMLs to call the medev evaluator
  • Loading branch information
jhrozek authored Sep 25, 2023
2 parents 15ad27d + c174587 commit d56e58e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/github/policies/pr_vuln_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ context:
pull_request:
- type: pr_vulnerability_check
def:
action: reject_pr
action: policy_only
ecosystem_config:
- name: npm
vulnerability_database_type: osv
Expand Down
9 changes: 5 additions & 4 deletions examples/github/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
url: https://api.github.com/repos/jakubtestorg/bad-npm/pulls/3
commitSHA: "bd9958a63c9b95ccc2bc0cf1eef65a87529aed16"
commitSHA: bd9958a63c9b95ccc2bc0cf1eef65a87529aed16
number: 3
repoOwner: "jakubtestorg"
repoName: "bad-npm"
repo_owner: jakubtestorg
repo_name: bad-npm
patches:
- name: package-lock.json
patchUrl: "https://github.com/jakubtestorg/bad-npm/raw/123/package-lock.json"
patch_Url: https://github.com/jakubtestorg/bad-npm/raw/123/package-lock.json
authorID: 144222806

0 comments on commit d56e58e

Please sign in to comment.