Skip to content

Commit 7faa793

Browse files
authored
feat: adopt PR audit [KHCP-18541] (#747)
1 parent c99bfc3 commit 7faa793

File tree

3 files changed

+346
-143
lines changed

3 files changed

+346
-143
lines changed

.github/workflows/pr-audit.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: PR Audit
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
pull_request_review:
8+
types:
9+
- submitted
10+
- edited
11+
- dismissed
12+
13+
jobs:
14+
pr-audit:
15+
name: Audit
16+
permissions:
17+
contents: read
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 10
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.SPEC_RENDERER_BOT_PAT }}
22+
23+
steps:
24+
25+
- name: Checkout code
26+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Setup PNPM with Dependencies
31+
uses: ./.github/actions/setup-pnpm-with-dependencies/
32+
33+
- name: PR Audit
34+
uses: Kong/public-shared-actions/pr-previews/audit@main
35+
if: github.actor != 'renovate[bot]'
36+
with:
37+
renovate-pr-author: renovate[bot]

package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,23 @@
135135
"@parcel/watcher",
136136
"esbuild",
137137
"vue-demi"
138-
]
138+
],
139+
"overrides": {
140+
"openapi3-ts": "4.5.0",
141+
"jsonpath-plus@<10.3.0": ">=10.3.0",
142+
"elliptic@<=6.6.0": ">=6.6.1",
143+
"@babel/helpers@<7.26.10": ">=7.26.10",
144+
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5",
145+
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
146+
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
147+
"pbkdf2@<=3.1.2": ">=3.1.3",
148+
"sha.js@<=2.4.11": ">=2.4.12",
149+
"cipher-base@<=1.0.4": ">=1.0.5",
150+
"tmp@<=0.2.3": ">=0.2.4",
151+
"form-data@>=4.0.0 <4.0.4": ">=4.0.4",
152+
"js-yaml@>=4.0.0 <4.1.1": ">=4.1.1",
153+
"glob@>=10.2.0 <10.5.0": ">=10.5.0"
154+
}
139155
},
140156
"repository": {
141157
"type": "git",

0 commit comments

Comments
 (0)