apply explicit permissions as per CodeQL suggestion

as per rule ID actions/missing-workflow-permissions
This commit is contained in:
El RIDO
2025-10-10 15:07:44 +02:00
parent bab4d50cd4
commit 7eec8caae3
5 changed files with 20 additions and 0 deletions
+5
View File
@@ -8,6 +8,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
security-events: write
jobs:
# https://github.com/snyk/actions/tree/master/php
snyk-php: