[ci] Explicitly declare permissions and limit credentials (#15324)

Authored by: bashonly
This commit is contained in:
bashonly 2025-12-19 13:22:23 -06:00 committed by GitHub
parent 825648a740
commit a6a8f6b6d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 96 additions and 43 deletions

View file

@ -9,6 +9,8 @@ on:
schedule:
- cron: '59 11 * * 5'
permissions: {}
jobs:
analyze:
name: Analyze (${{ matrix.language }})
@ -26,6 +28,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v4