mirror of
https://github.com/hathach/tinyusb.git
synced 2025-10-30 04:03:07 +00:00
update static_analysis.yml workflow
This commit is contained in:
parent
a6efc7d722
commit
8865ec4781
21
.github/workflows/static_analysis.yml
vendored
21
.github/workflows/static_analysis.yml
vendored
@ -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:
|
||||
|
||||
@ -9,6 +9,7 @@ sonar.projectVersion=0.19.0
|
||||
|
||||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
|
||||
#sonar.sources=.
|
||||
sonar.exclusions=lib/**,hw/mcu/**,test/**
|
||||
|
||||
# Encoding of the source code. Default is default system encoding
|
||||
#sonar.sourceEncoding=UTF-8
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user