Skip to content

Commit 389cc8f

Browse files
fix: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 6fc8624 commit 389cc8f

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Check CMake Formatting
2+
permissions:
3+
contents: read
24

35
on: [push, pull_request]
46

.github/workflows/conventional-commit-check-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Conventional commit check
22
on: [pull_request]
3+
permissions:
4+
contents: read
35

46
jobs:
57
cog_check_job:

.github/workflows/conventional-commit-check-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Conventional commit check
2+
permissions:
3+
contents: read
24
on: [push]
35

46
jobs:

.github/workflows/qt-build-release-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: CMake build release for linux
2+
permissions:
3+
contents: read
24

35
on:
46
push:

.github/workflows/reademe-contributors.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- main
88

99
name: Generate a list of contributors
10+
permissions:
11+
contents: write
1012

1113
jobs:
1214
contrib-readme-en-job:

0 commit comments

Comments
 (0)