Skip to content

Commit 138dc93

Browse files
committed
Try with top-level permissions block
1 parent 4e5cb7c commit 138dc93

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/clang-format-check.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Clang-Format Check
22
run-name: "${{ github.actor }} checking code format"
33

4+
permissions:
5+
contents: read
6+
pull-requests: read
7+
48
on:
59
pull_request:
610
branches: [ main ]

.github/workflows/cmake-format-check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches: [ main ]
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
detect-cmake-format-changes:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)