Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Trigger CI on commit or pull-request against main branch
  • Loading branch information
lizhanhui authored Oct 14, 2021
1 parent 2b9aafb commit 4bc0e35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: CI
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:
Expand All @@ -35,4 +35,4 @@ jobs:
- name: Compile All Targets
run: bazel build //...
- name: Run Unit Tests
run: bazel test --test_output=errors //src/test/cpp/ut/...
run: bazel test --test_output=errors //src/test/cpp/ut/...

0 comments on commit 4bc0e35

Please sign in to comment.