From eacc0328b12a527fb7112ddb487fe6c65fc6fdd7 Mon Sep 17 00:00:00 2001 From: Adrien Pessu <7055334+adrienpessu@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:10:23 +0200 Subject: [PATCH] improve example --- docs/examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples.md b/docs/examples.md index 8db066763..ad6c5f4ad 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -236,7 +236,7 @@ jobs: Using the `deny-packages` you can exclude dependencies by their full package name. You can add multiple values separated by a comma. Using the `deny-groups` you can exclude dependencies by their package group name. You can add multiple values separated by a comma. -In this example, we are excluding `log4j-api` and `log4j-code` from `maven` and `requests` from `pip` dependencies from the license check +In this example, we are excluding `pkg:maven/org.apache.logging.log4j:log4j-api` and `pkg:maven/org.apache.logging.log4j/log4j-core` from `maven` and all packages in the group `pkg:maven/com.bazaarvoice.maven` ```yaml name: 'Dependency Review' @@ -255,6 +255,6 @@ jobs: - name: 'Dependency Review' uses: actions/dependency-review-action@v3 with: - deny-packages: 'pkg:maven/org.apache.logging.log4j:log4j-api,pkg:maven/org.apache.logging.log4j:log4j-core' + deny-packages: 'pkg:maven/org.apache.logging.log4j/log4j-api,pkg:maven/org.apache.logging.log4j/log4j-core' deny-groups: 'pkg:maven/com.bazaarvoice.maven' ``` \ No newline at end of file