Skip to content

Commit 46b6bfa

Browse files
authored
Update github CI trigger events (#192)
* Avoid duplicated github actions checks for pull-request/push events. * Only trigger CI on a subset of pull request events: opened, reopened and synchronized. Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
1 parent 428bec3 commit 46b6bfa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build_and_test.yml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
types: [opened, reopened, synchronize]
9+
10+
411

512
jobs:
613
build_and_test:

0 commit comments

Comments
 (0)