ci: add top-level permissions for least-privilege security, fixes #9344

This commit is contained in:
Mrityunjay Raj 2026-02-16 00:38:44 +05:30
parent e7ad8ef54b
commit 3349cdcc1e

View file

@ -25,6 +25,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
lint: