Skip to content

Commit aac5b79

Browse files
authored
Fix: [AEA-5986] - Fix publish fame library (#77)
## Summary - Routine Change ### Details Only include pypi plugin for semantic release when pypi_publish is passed to tag-release as true.
1 parent d522293 commit aac5b79

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

.trivyignore.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ vulnerabilities:
44
- "package-lock.json"
55
statement: downstream dependency for tar - waiting for new npm release
66
expired_at: 2026-06-01
7-
- id: CVE-2026-25128
8-
statement: fast-xml-parser vulnerability accepted as risk - dependency of aws-sdk/client-dynamodb
9-
expired_at: 2026-03-01
10-
- id: CVE-2026-25547
11-
statement: isaacs/brace-expansion vulnerability accepted as risk - dependency of semantic-release
12-
expired_at: 2026-03-01
13-
- id: CVE-2026-0775
14-
statement: npm vulnerability accepted as risk - dependency of semantic-release
15-
expired_at: 2026-03-01
167
- id: CVE-2026-26996
178
statement: minimatch vulnerability accepted as risk
189
expired_at: 2026-06-01
@@ -25,3 +16,6 @@ vulnerabilities:
2516
- id: CVE-2026-26960
2617
statement: tar vulnerability accepted as risk
2718
expired_at: 2026-06-01
19+
- id: GHSA-qffp-2rhf-9h96
20+
statement: tar vulnerability accepted as risk - dependency of npm (multiple)
21+
expired_at: 2026-06-01

release.config.cjs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,14 @@ module.exports = {
7676
pkgRoot: subpackage
7777
}
7878
]),
79-
[
80-
"semantic-release-pypi",
81-
{
82-
pypiPublish: pypiPublish,
83-
repoToken: pypiToken
84-
}
85-
],
79+
...(pypiPublish ? [
80+
[
81+
"semantic-release-pypi",
82+
{
83+
repoToken: pypiToken
84+
}
85+
]
86+
] : []),
8687
[
8788
"@semantic-release/github",
8889
{

0 commit comments

Comments
 (0)