Skip to content

Commit c9c61f5

Browse files
committed
Address suggestions by CodeQL
1 parent ecf6f54 commit c9c61f5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,9 @@ jobs:
481481
runs-on: ubuntu-22.04
482482
container: public.ecr.aws/ubuntu/ubuntu:22.04_stable
483483

484+
permissions:
485+
contents: read
486+
484487
steps:
485488
- name: Checkout code
486489
uses: actions/checkout@v4

.github/workflows/clang-format.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: clang-format-check
22
on: [ push ]
3+
permissions:
4+
contents: read
35
jobs:
46
check-format:
57
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)