Skip to content

Commit a5a741a

Browse files
committed
Lock down CI permissions
1 parent 49e50e1 commit a5a741a

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CI
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
branches:

.github/workflows/semgrep.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
schedule:
88
- cron: "0 0 * * *"
99
name: Semgrep config
10+
11+
permissions:
12+
contents: read
13+
1014
jobs:
1115
semgrep:
1216
name: semgrep/ci

0 commit comments

Comments
 (0)