Skip to content

Commit d84cf22

Browse files
ci: limit permissions in pre-commit workflow
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 7895c7b commit d84cf22

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- main
88
workflow_dispatch: {}
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
pre-commit:
1215
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)