Skip to content

Commit 20b9e33

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
22

33
name: publish
4+
permissions:
5+
contents: read
46
on:
57
workflow_dispatch: # Allow running the workflow manually from the GitHub UI
68
push:

0 commit comments

Comments
 (0)