Skip to content

Commit 7e12ac3

Browse files
authored
Merge pull request #208 from cvxgrp/alert-autofix-4
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
2 parents b1e49a0 + 99ffa8e commit 7e12ac3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: pre-commit
33
on:
44
push:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
pre-commit:
811
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)