mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-24 10:45:41 +00:00
ci: tighten build permissions and CodeQL path coverage
Limit the build workflow token to contents:read by default, and include lang/** so language-tooling changes trigger CodeQL. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -52,6 +52,9 @@ on:
|
||||
- 'var/macos/**'
|
||||
- 'var/windows/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -18,6 +18,7 @@ on:
|
||||
- '.github/workflows/codeql-analysis.yml'
|
||||
- 'frontend/**'
|
||||
- 'integration-tests/**'
|
||||
- 'lang/**'
|
||||
- 'proto/**'
|
||||
- 'service/**'
|
||||
branches: [main, next]
|
||||
@@ -26,6 +27,7 @@ on:
|
||||
- '.github/workflows/codeql-analysis.yml'
|
||||
- 'frontend/**'
|
||||
- 'integration-tests/**'
|
||||
- 'lang/**'
|
||||
- 'proto/**'
|
||||
- 'service/**'
|
||||
branches: [main, next]
|
||||
|
||||
Reference in New Issue
Block a user