Skip to content

Commit 187511f

Browse files
committed
implement NPM
Signed-off-by: Jefferson <[email protected]>
1 parent 718edbb commit 187511f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/check-vulns.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,13 @@ jobs:
9292
max-parallel: 1
9393
steps:
9494
- uses: actions/checkout@v4
95-
- name: Set issue labels from matrix
95+
- name: Debug matrix data
9696
run: |
97-
# Labels are now generated by the matrix formatter and included in the matrix
98-
LABELS_JSON='${{ toJson(matrix.vulnerabilities.labels) }}'
99-
echo "ISSUE_LABELS=${LABELS_JSON}" >> $GITHUB_ENV
100-
echo "Using labels from matrix formatter: ${LABELS_JSON}"
97+
echo "Matrix vulnerability data:"
98+
echo "ID: ${{ matrix.vulnerabilities.id }}"
99+
echo "Dependency: ${{ matrix.vulnerabilities.dependency }}"
100+
echo "Source: ${{ matrix.vulnerabilities.source }}"
101+
echo "Labels: ${{ join(matrix.vulnerabilities.labels, ', ') }}"
101102
- uses: dblock/create-a-github-issue@v3
102103
with:
103104
update_existing: false
@@ -106,7 +107,7 @@ jobs:
106107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
107108
VULN_ID: ${{ matrix.vulnerabilities.id }}
108109
VULN_URL: ${{ matrix.vulnerabilities.url }}
109-
ISSUE_LABELS: ${{ toJson(matrix.vulnerabilities.labels) }}
110+
ISSUE_LABELS: ${{ join(matrix.vulnerabilities.labels, ',') }}
110111
VULN_DEP_NAME: ${{ matrix.vulnerabilities.dependency }}
111112
VULN_DEP_VERSION: ${{ matrix.vulnerabilities.version }}
112113
VULN_SOURCE: ${{ matrix.vulnerabilities.source }}

0 commit comments

Comments
 (0)