Update main.yml
Trigger CI on commit or pull-request against main branch
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ffd3522..72c1725 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -6,9 +6,9 @@
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
- branches: [ master, develop ]
+ branches: [ main ]
pull_request:
- branches: [ master, develop ]
+ branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -35,4 +35,4 @@
- name: Compile All Targets
run: bazel build //...
- name: Run Unit Tests
- run: bazel test --test_output=errors //src/test/cpp/ut/...
\ No newline at end of file
+ run: bazel test --test_output=errors //src/test/cpp/ut/...