Skip to content

Commit 1dac4ef

Browse files
committed
fix(ci): zizmor警告を修正
- persist-credentials: false を追加 - 明示的な権限設定を追加
1 parent 2078566 commit 1dac4ef

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2121
with:
2222
fetch-depth: 0
23+
persist-credentials: false
2324

2425
- name: Setup aqua
2526
uses: aquaproj/aqua-installer@11dd79b4e498d471a9385aa9fb7f62bb5f52a73c # v4.0.4
@@ -46,6 +47,7 @@ jobs:
4647
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4748
with:
4849
fetch-depth: 0
50+
persist-credentials: false
4951

5052
- name: Setup aqua
5153
uses: aquaproj/aqua-installer@11dd79b4e498d471a9385aa9fb7f62bb5f52a73c # v4.0.4

.github/workflows/renovate-config-validator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
jobs:
1313
validate:
1414
runs-on: ubuntu-slim
15+
permissions:
16+
contents: read
1517
steps:
1618
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+
with:
20+
persist-credentials: false
1721
- uses: rinchsan/renovate-config-validator@a12a2b98cd4db923c33d1ce407c57afb43f3ff59 # v0.2.0

0 commit comments

Comments
 (0)