Skip to content

Commit

Permalink
feat(npm-audit-fix): Add audit report to created pull request
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed May 6, 2024
1 parent fc09713 commit c3a3da0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions workflow-templates/npm-audit-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: nextcloud-libraries/npm-audit-action@2a60bd2e79cc77f2cc4d9a3fe40f1a69896f3a87 # v0.1.0

- name: Run npm ci and npm run build
if: always()
Expand All @@ -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

0 comments on commit c3a3da0

Please sign in to comment.