Skip to content

Commit f4227cb

Browse files
committed
Improve CI
Let's run the CI in a cohesive way only when master is impacted.
1 parent f893bd7 commit f4227cb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/bash_unit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: bash_unit CI
1+
name: bash_unit tests
22
on:
33
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
47

58
jobs:
69
ubuntu:

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
name: pre-commit
33
on:
4-
pull_request:
54
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
68
jobs:
79
pre-commit:
810
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)