Skip to content

Commit 49c52c6

Browse files
authored
set workflow permissions (#179)
Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent 7b3a170 commit 49c52c6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
22
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
33
name: CI
4+
permissions:
5+
contents: read
46

57
on:
68
push:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: clang-format Check
2+
permissions:
3+
contents: read
4+
25
on: [push, pull_request]
36
jobs:
47
formatting-check:

0 commit comments

Comments
 (0)