update static_analysis.yml workflow

This commit is contained in:
hathach
2025-10-27 12:09:33 +07:00
parent a6efc7d722
commit 8865ec4781
2 changed files with 19 additions and 3 deletions

View File

@ -2,15 +2,30 @@ name: Static Analysis
on:
workflow_dispatch:
push:
branches:
- master
branches: [ master ]
paths:
- 'src/**'
- 'examples/**'
- 'hw/bsp/**'
- '.github/workflows/static_analysis.yml'
pull_request:
types: [opened, synchronize, reopened]
branches: [ master ]
paths:
- 'src/**'
- 'examples/**'
- 'hw/bsp/**'
- '.github/workflows/static_analysis.yml'
permissions:
actions: read
contents: read
security-events: write
# pull-requests: write
# checks: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
CodeQL: