Skip to content

Commit d7cefd2

Browse files
Add explicit workflow permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 76df38d commit d7cefd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pre-commit.yml

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

55
jobs:
66
pre-commit:
7+
permissions:
8+
contents: read
79
runs-on: ubuntu-latest
810
steps:
911
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)