Skip to content

Commit 978f1f8

Browse files
committed
Add permissions to ci jobs
1 parent 7c99095 commit 978f1f8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build and test
22
on: [push]
3+
4+
permissions:
5+
contents: read
6+
37
jobs:
48
build:
59
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- minor
1313
- patch
1414

15+
permissions:
16+
contents: write
17+
1518
jobs:
1619
release:
1720
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)