Skip to content

Commit e4d9d02

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

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
@@ -1,5 +1,8 @@
11
name: Pre-commit
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
push:

0 commit comments

Comments
 (0)