Skip to content

Commit 721a342

Browse files
committed
[build] Adjust GitHub Actions permissions
Signed-off-by: Dariusz Jędrzejczyk <[email protected]>
1 parent f7ba7db commit 721a342

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI
22
on:
33
pull_request: {}
4-
permissions: read-all
4+
permissions: {}
55
jobs:
66
build:
77
name: build

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
branches: # For branches, better to list them explicitly than regexp include
55
- main
66
- 1.3.x
7-
- 1.2.x
8-
permissions: read-all
7+
permissions: {}
98
jobs:
109
# General job notes: we DON'T want to cancel any previous runs, especially in the case of a "back to snapshots" build right after a release push
1110
# We specify the ubuntu version to minimize the chances we have to deal with a migration during a release

0 commit comments

Comments
 (0)