Skip to content

Commit 88ef1e7

Browse files
zoola969github-advanced-security[bot]Copilot
authored
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#7)
* Potential 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> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f62a7ac commit 88ef1e7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish.yml

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

9+
permissions:
10+
contents: read
911

1012
jobs:
1113
build:

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
name: Tests
3+
permissions:
4+
contents: read
35

46
on:
57
push:

0 commit comments

Comments
 (0)