Skip to content

Commit

Permalink
Don't run cppcheck and clang_format for tag-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dimula73 committed May 12, 2024
1 parent cfb2a5b commit 1d5dcca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Expand Up @@ -84,6 +84,8 @@ clang_format:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_COMMIT_TAG
when: never
- when: manual
allow_failure: true

Expand Down
2 changes: 2 additions & 0 deletions build-tools/ci-scripts/cppcheck.yml
Expand Up @@ -11,6 +11,8 @@ cppcheck:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_COMMIT_TAG
when: never
- changes:
- "**/*.c"
- "**/*.h"
Expand Down

0 comments on commit 1d5dcca

Please sign in to comment.