Skip to content

Commit b02fa23

Browse files
Potential fix for code scanning alert no. 6: Workflow does not contain permissions (#260)
Signed-off-by: Glenn Jocher <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent ccd277d commit b02fa23

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
@@ -96,6 +96,8 @@ jobs:
9696
needs: [check, publish]
9797
if: always() && needs.check.outputs.increment == 'True'
9898
runs-on: ubuntu-latest
99+
permissions:
100+
contents: read
99101
steps:
100102
- uses: actions/checkout@v4
101103
- name: Extract PR Details

0 commit comments

Comments
 (0)