Skip to content

Commit

Permalink
ci: Fix checking twice on PRs and pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
acgetchell committed Sep 23, 2024
1 parent bec7526 commit 1fbb7fe
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: clang-format Check
on: [push, pull_request]
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop

jobs:
formatting-check:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
schedule:
- cron: '26 7 * * 0'
workflow_dispatch:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: cpp-linter

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

jobs:
cpp-linter:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Cppcheck

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/linux-clang.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Linux Clang

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/linux-gcc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Linux GCC

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/msan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

concurrency:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/whitespace.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Whitespace

on: [push, pull_request, workflow_dispatch]
on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
workflow_dispatch:

jobs:
whitespace:
Expand Down

0 comments on commit 1fbb7fe

Please sign in to comment.