diff --git a/workflow-templates/npm-audit-fix.yml b/workflow-templates/npm-audit-fix.yml index fa14ff1..133af47 100644 --- a/workflow-templates/npm-audit-fix.yml +++ b/workflow-templates/npm-audit-fix.yml @@ -47,8 +47,8 @@ jobs: run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" - name: Fix npm audit - run: | - npm audit fix + id: npm-audit + uses: susnux/npm-audit-action@2a60bd2e79cc77f2cc4d9a3fe40f1a69896f3a87 # v0.1.0 - name: Run npm ci and npm run build if: always() @@ -69,8 +69,7 @@ jobs: signoff: true branch: automated/noid/${{ matrix.branches }}-fix-npm-audit title: "[${{ matrix.branches }}] Fix npm audit" - body: | - Auto-generated fix of npm audit + body: ${{ steps.npm-audit.outputs.markdown }} labels: | dependencies 3. to review