Skip to content

Commit 383f620

Browse files
committed
Action permissions.
1 parent a3c3515 commit 383f620

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/libc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Benchmark libc
33
on:
44
workflow_dispatch:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
test:
811
strategy:

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ on:
1717
- '**.yml'
1818
workflow_dispatch:
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
test:
2225
strategy:
2326
matrix:
2427
os: [macos-latest, ubuntu-latest, windows-latest]
2528
runs-on: ${{ matrix.os }}
29+
permissions:
30+
contents: write
2631

2732
steps:
2833
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)