Skip to content

Commit 57c3c9f

Browse files
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 8ac2c70 commit 57c3c9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ env:
1111
jobs:
1212
test-and-build:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
1416

1517
env:
1618
PIP_PROGRESS_BAR: "off"

0 commit comments

Comments
 (0)