Skip to content

Commit 9b62606

Browse files
committed
ci: fix codeql errors
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 43a1e9a commit 9b62606

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ on:
44
- push
55
- pull_request
66

7+
permissions: read-all
8+
79
jobs:
8-
CI:
10+
ci:
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v4

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ on:
66
- main
77
workflow_dispatch:
88

9-
permissions:
10-
contents: read
11-
pages: write
12-
id-token: write
9+
permissions: read-all
1310

1411
concurrency:
1512
group: pages
@@ -20,6 +17,10 @@ jobs:
2017
environment:
2118
name: github-pages
2219
url: ${{ steps.deployment.outputs.page_url }}
20+
permissions:
21+
contents: read
22+
pages: write
23+
id-token: write
2324
runs-on: ubuntu-latest
2425
steps:
2526
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)