Skip to content

Commit 3328d22

Browse files
authored
Fix label error and deprecation warnings (#69)
* fix: Remove deprecated set-output workflow command * fix: Fix template label * fix: Update Python action to remove deprecation error
1 parent 36a524b commit 3328d22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: New vulnerability {{ env.VULN_ID }} found on {{ env.NODEJS_STREAM }}
33
asignees:
4-
labels: {{ env.NODEJS_STREAM }}
4+
labels: "{{ env.NODEJS_STREAM }}"
55
---
66
Failed run: {{ env.ACTION_URL }}
77
Vulnerability ID: {{ env.VULN_ID }}

.github/workflows/check-vulns.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
full_output: ${{ steps.collect_error.outputs.result }}
2929
steps:
3030
- name: Setup Python 3.9
31-
uses: actions/setup-python@v3
31+
uses: actions/setup-python@v4
3232
with:
3333
python-version: '3.9'
3434
- name: Checkout current repository
@@ -58,7 +58,7 @@ jobs:
5858
cat result.log | sed -n 's/.*\(CVE-.*\|GHSA-.*\).*/"\1",/p' | sed '$s/,//'
5959
echo "]}"
6060
) | jq -c .)
61-
echo "::set-output name=matrix::$matrix"
61+
echo "matrix=$matrix" >> $GITHUB_OUTPUT
6262
6363
- name: collect error
6464
id: collect_error
@@ -70,7 +70,7 @@ jobs:
7070
content="${content//'%'/'%25'}"
7171
content="${content//$'\n'/'%0A'}"
7272
content="${content//$'\r'/'%0D'}"
73-
echo "::set-output name=result::$content"
73+
echo "result=$content" >> $GITHUB_OUTPUT
7474
create-issues:
7575
needs: check-vulns
7676
if: ${{ always() }}

0 commit comments

Comments
 (0)