Skip to content

Commit 3a0d9ce

Browse files
ci: refactor workflow permissions and triggers (#88)
1 parent 09c5784 commit 3a0d9ce

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
---
22
name: CI
3-
permissions:
4-
contents: read
3+
permissions: {}
54

65
on:
76
pull_request:
8-
branches:
9-
- master
10-
types:
11-
- opened
12-
- synchronize
13-
- reopened
147
push:
158
branches:
169
- master
@@ -25,6 +18,8 @@ jobs:
2518
defaults:
2619
run:
2720
shell: ${{ matrix.shell }}
21+
permissions:
22+
contents: read
2823
runs-on: ${{ matrix.os }}
2924
strategy:
3025
fail-fast: false

0 commit comments

Comments
 (0)