Skip to content

Commit d5eafe6

Browse files
Potential fix for code scanning alert no. 7: Workflow does not contain permissions (#16)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 2e1d2c1 commit d5eafe6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ jobs:
308308
needs: build-and-test
309309
runs-on: ubuntu-latest
310310
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
311+
permissions:
312+
contents: read
311313

312314
steps:
313315
- name: Download build artifacts

0 commit comments

Comments
 (0)