[CI] Minimal GitHub Actions permissions (#7165)

* add permission block

* add permissions block

* add permission block

* add permissions block

* switch order
This commit is contained in:
tooomm 2026-08-23 11:42:47 +02:00 committed by GitHub
parent da924c2bd6
commit 63a970045a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,8 @@
name: Code Style (C++)
permissions:
contents: read
on:
# Push trigger not needed for linting, we do not allow direct pushes to master
pull_request: