Skip to content

Commit d2679f0

Browse files
feat: rebased the main branch
1 parent 77b6104 commit d2679f0

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/pr-change-set.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,23 @@ jobs:
1818
uses: ./.github/workflows/build.yaml
1919
permissions:
2020
contents: read
21+
22+
comment-audit:
23+
runs-on: ubuntu-latest
24+
permissions:
25+
pull-requests: write
26+
needs: build
27+
steps:
28+
29+
- name: Download artifact from Build
30+
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 #v3
31+
#if: steps.audit-packages.outputs.exit_code == 1
32+
with:
33+
name: vulnerabilities.txt
34+
35+
- name: comment PR
36+
id: comment-pr
37+
run: gh pr comment ${{ github.event.number }} --body-file vulnerabilities.txt
38+
#if: steps.audit-packages.outputs.exit_code == 1
39+
env:
40+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,4 @@ jobs:
5252
env:
5353
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
5454
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
55-
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 }}
55+
PR_HEAD_REPO_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }}

0 commit comments

Comments
 (0)