Skip to content

Commit 0f0363f

Browse files
Potential fix for code scanning alert no. 11: Workflow does not contain permissions (#409)
* Fix for code scanning alerts: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Fix for code scanning alert no. 10: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Fix for code scanning alert no. 5: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 4966173 commit 0f0363f

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/security.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
permissions:
2+
contents: read
13
name: Security
24

35
on:

.github/workflows/tests-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
permissions:
2+
contents: read
13
name: Integration Tests
24

35
on:

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- 'go.mod'
1010
- .github/workflows/tests.yml
1111

12+
permissions:
13+
contents: read
1214
jobs:
1315
test:
1416
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)