From a7ef6a91b2320e545123134df455d4283c72d9b8 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Thu, 2 Jan 2025 08:57:45 -0600 Subject: [PATCH] Update deny licenses to a var (#42) --- config.yaml | 1 + templates/dependency-review.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index c39a2a5..4c90f9b 100644 --- a/config.yaml +++ b/config.yaml @@ -81,6 +81,7 @@ files: variables: COMPANY_NAME: "Chia Network Inc." CGO_ENABLED: "0" + DEPENDABOT_DENY_LICENSES: "AGPL-1.0-only, AGPL-1.0-or-later, AGPL-1.0-or-later, AGPL-3.0-or-later, GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later" DEPENDABOT_GOMOD_PULL_REQUEST_LIMIT: "10" DEPENDABOT_GOMOD_REBASE_STRATEGY: "auto" DEPENDABOT_GOMOD_DIRECTORY: "/" diff --git a/templates/dependency-review.yml b/templates/dependency-review.yml index 4070e10..19cf39f 100644 --- a/templates/dependency-review.yml +++ b/templates/dependency-review.yml @@ -22,4 +22,4 @@ jobs: uses: actions/dependency-review-action@v4 with: allow-dependencies-licenses: {{ .DEPENDENCY_REVIEW_ALLOW_DEPENDENCIES_LICENSES }} - deny-licenses: AGPL-1.0-only, AGPL-1.0-or-later, AGPL-1.0-or-later, AGPL-3.0-or-later, GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later + deny-licenses: {{ .DEPENDABOT_DENY_LICENSES }}