Skip to content

Commit b0b981a

Browse files
committed
Explicitly set GitHub Actions permissions
1 parent 4eb9570 commit b0b981a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: CI
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
env:
69
UV_VERSION: "0.9.21"
710

.github/workflows/pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ env:
1212

1313
jobs:
1414
deploy:
15+
permissions:
16+
contents: write
1517
runs-on: ubuntu-latest
1618
steps:
1719
- name: Checkout code

0 commit comments

Comments
 (0)