summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-11-11 13:19:59 +0700
committerGitHub <[email protected]>2025-11-11 13:19:59 +0700
commit8a094e807b34bcc018c971d59acb660b1a9ddf9f (patch)
treea533fccebf77b046bbd6002f9bb077d98a9df6c3 /.github/workflows
parent96f35fc0a559aa09da70e0dede5a43081615723f (diff)
parenta1ae5b20ccf760282538dd81b9290527757fa9c7 (diff)
Merge pull request #3278 from c1570/improved_docs
Documentation improvements
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/static_analysis.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml
index a89cdc279..4db267517 100644
--- a/.github/workflows/static_analysis.yml
+++ b/.github/workflows/static_analysis.yml
@@ -90,7 +90,8 @@ jobs:
path: ${{ steps.analyze.outputs.sarif-output }}
PVS-Studio:
- if: github.repository_owner == 'hathach'
+ # Only run on non-forked PR since secrets token is required
+ if: github.repository_owner == 'hathach' && github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -141,7 +142,8 @@ jobs:
path: pvs-studio-${{ matrix.board }}.sarif
SonarQube:
- if: github.repository_owner == 'hathach'
+ # Only run on non-forked PR since secrets token is required
+ if: github.repository_owner == 'hathach' && github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory
@@ -184,7 +186,8 @@ jobs:
--define sonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json
IAR-CStat:
- #if: github.repository_owner == 'hathach'
+ # Only run on non-forked PR since secrets token is required
+ #if: github.repository_owner == 'hathach' && github.event.pull_request.head.repo.fork == false
if: false
runs-on: ubuntu-latest
strategy: