Skip to content

Commit 338f79a

Browse files
CopilotFTWinston
andcommitted
Add permissions block to CI workflow for security
Co-authored-by: FTWinston <1863145+FTWinston@users.noreply.github.com>
1 parent 623da1e commit 338f79a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

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

1517
steps:
1618
- name: Checkout code

0 commit comments

Comments
 (0)