Skip to content

Commit acfd987

Browse files
committed
Add permissions blocks to CI workflows, restore logs .gitignore
1 parent e6db6c4 commit acfd987

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/aw/logs/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore all downloaded workflow logs
2+
*
3+
# But keep the .gitignore file itself
4+
!.gitignore

.github/workflows/corrections-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- 'scripts/corrections/**'
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
test:
1316
runs-on: ubuntu-latest

.github/workflows/verify-compiled.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- '.github/workflows/*.md'
77
- '.github/workflows/*.lock.yml'
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
verify:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)