Skip to content

Commit 7d71405

Browse files
step-security-botjosephvusich
authored andcommitted
Restrict permissions for the GITHUB_TOKEN in .github/workflows/ci-unit-tests.yaml
1 parent a0ffb80 commit 7d71405

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci-unit-tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on: [pull_request, push]
44

55
jobs:
66
ci-unit-tests:
7+
permissions:
8+
contents: read
79
runs-on: ubuntu-latest
810
steps:
911
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)