diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa29e957..22cddf2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,10 @@ name: ci -on: push +on: + push: + branches: + - master + paths: + - src jobs: test: runs-on: ubuntu-20.04 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b3fef608..96c0f092 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,10 +14,15 @@ name: "CodeQL" on: push: branches: [ master ] + paths: + - src + - .github/workflows/codeql.yml pull_request: # The branches below must be a subset of the branches above branches: [ master ] - + paths: + - src + - .github/workflows/codeql.yml jobs: analyze: name: Analyze