Skip to content

Commit 90ecc00

Browse files
feat: rebased the main branch
1 parent 4ba7d84 commit 90ecc00

2 files changed

Lines changed: 20 additions & 33 deletions

File tree

.github/workflows/pr-comment-audit.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/pr-conventional-commits.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,23 @@ jobs:
5353
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
5454
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
5555
PR_HEAD_REPO_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }}
56+
57+
comment-audit:
58+
runs-on: ubuntu-latest
59+
permissions:
60+
pull-requests: write
61+
needs: build
62+
steps:
63+
64+
- name: Download artifact from Build
65+
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 #v3
66+
#if: steps.audit-packages.outputs.exit_code == 1
67+
with:
68+
name: vulnerabilities.txt
69+
70+
- name: comment PR
71+
id: comment-pr
72+
run: gh pr comment ${{ github.event.number }} --body-file vulnerabilities.txt
73+
#if: steps.audit-packages.outputs.exit_code == 1
74+
env:
75+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)