dont run if no C++ src files changed

This commit is contained in:
proddy
2025-10-26 12:12:36 +01:00
parent c71526b95c
commit a074ac732d
2 changed files with 7 additions and 12 deletions

View File

@@ -7,15 +7,8 @@ on:
pull_request: pull_request:
branches: dev branches: dev
paths: paths:
- '**.c' - 'src/**'
- '**.cpp'
- '**.h'
- '**.hpp'
- '**.json'
- '**.py'
- '**.md'
- '.github/workflows/pr_check.yml'
jobs: jobs:
pre-release: pre-release:
name: 'Automatic pre-release build' name: 'Automatic pre-release build'

View File

@@ -1,12 +1,14 @@
# see https://github.com/marketplace/actions/sonarcloud-scan-for-c-and-c#usage # see https://github.com/marketplace/actions/sonarcloud-scan-for-c-and-c#usage
name: Sonar Check name: Sonar Check
permissions:
contents: read
on: on:
push: push:
branches: branches:
- dev - dev
# pull_request: paths:
# types: [opened, synchronize, reopened] - 'src/**'
jobs: jobs:
build: build: