Skip to content

Commit ed2d1e8

Browse files
Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 38cb036 commit ed2d1e8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/reusable-pre-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
required: true
1111
type: string
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
pre-commit:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)