Skip to content

Commit 93a47fb

Browse files
committed
ci: try to fix security #541
1 parent b538066 commit 93a47fb

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
steps:
3030
- name: Checkout Code
3131
uses: actions/checkout@v4
32+
with:
33+
persist-credentials: false
3234

3335
- name: Setup pnpm
3436
uses: pnpm/action-setup@v4

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
ref: ${{ github.event.pull_request.head.sha }}
25+
persist-credentials: false
2526

2627
- name: Detect Changed Files
2728
uses: dorny/paths-filter@v3

0 commit comments

Comments
 (0)