Skip to content

Commit af77c0a

Browse files
authored
Refine the action triggering the test CI (#143)
Signed-off-by: tdruez <tdruez@nexb.com>
1 parent 59725d2 commit af77c0a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/ci-docker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Test on Docker CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
48

59
jobs:
610
test:

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Test CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
48

59
env:
610
DATABASE_NAME: dejacode

0 commit comments

Comments
 (0)