Skip to content

Commit 2a6fe64

Browse files
committed
Chore: fix security issues
1 parent 2398d97 commit 2a6fe64

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on: [push, pull_request]
66
jobs:
77
pre_job:
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
911
outputs:
1012
should_skip: ${{ steps.skip_check.outputs.should_skip }}
1113
steps:
@@ -24,6 +26,8 @@ jobs:
2426
needs: pre_job
2527
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
2628
runs-on: ubuntu-latest
29+
permissions:
30+
contents: read
2731

2832
steps:
2933
- name: Checkout
@@ -58,6 +62,8 @@ jobs:
5862
needs: pre_job
5963
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
6064
runs-on: ubuntu-latest
65+
permissions:
66+
contents: read
6167

6268
steps:
6369
- name: Checkout

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
},
7777
"resolutions": {
7878
"csstype@^3.1.3": "patch:csstype@npm%3A3.1.3#./.yarn/patches/csstype-npm-3.1.3-e9a1c85013.patch",
79-
"csstype@^3.0.7": "patch:csstype@npm%3A3.1.3#./.yarn/patches/csstype-npm-3.1.3-e9a1c85013.patch"
79+
"csstype@^3.0.7": "patch:csstype@npm%3A3.1.3#./.yarn/patches/csstype-npm-3.1.3-e9a1c85013.patch",
80+
"ip": "npm:ip@2.0.1"
8081
}
8182
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,10 +4230,10 @@ __metadata:
42304230
languageName: node
42314231
linkType: hard
42324232

4233-
"ip@npm:^2.0.0":
4234-
version: 2.0.0
4235-
resolution: "ip@npm:2.0.0"
4236-
checksum: 10/1270b11e534a466fb4cf4426cbcc3a907c429389f7f4e4e3b288b42823562e88d6a509ceda8141a507de147ca506141f745005c0aa144569d94cf24a54eb52bc
4233+
"ip@npm:ip@2.0.1":
4234+
version: 2.0.1
4235+
resolution: "ip@npm:2.0.1"
4236+
checksum: 10/d6dd154e1bc5e8725adfdd6fb92218635b9cbe6d873d051bd63b178f009777f751a5eea4c67021723a7056325fc3052f8b6599af0a2d56f042c93e684b4a0349
42374237
languageName: node
42384238
linkType: hard
42394239

0 commit comments

Comments
 (0)