Skip to content

Commit 8cfd6a1

Browse files
committed
Fixup CI
1 parent a6d9c2e commit 8cfd6a1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI
22

33
on:
44
push:
5+
branches:
6+
- main
57
pull_request:
68
workflow_dispatch:
79
# schedule: [cron: "40 1 * * *"]
@@ -13,7 +15,6 @@ jobs:
1315
bazel:
1416
name: Bazel on ${{matrix.os.name}}
1517
runs-on: ${{matrix.os.image}}
16-
if: github.event_name != 'pull_request'
1718
strategy:
1819
fail-fast: false
1920
matrix:
@@ -42,7 +43,6 @@ jobs:
4243
clippy:
4344
name: Clippy
4445
runs-on: ubuntu-latest
45-
if: github.event_name != 'pull_request'
4646
timeout-minutes: 45
4747
steps:
4848
- uses: actions/checkout@v4
@@ -52,7 +52,6 @@ jobs:
5252
asan:
5353
name: Address Sanitizer
5454
runs-on: ubuntu-latest
55-
if: github.event_name != 'pull_request'
5655
timeout-minutes: 45
5756
steps:
5857
- uses: actions/checkout@v4
@@ -62,7 +61,6 @@ jobs:
6261
clang-tidy:
6362
name: Clang Tidy
6463
runs-on: ubuntu-latest
65-
if: github.event_name != 'pull_request'
6664
timeout-minutes: 45
6765
steps:
6866
- uses: actions/checkout@v4
@@ -74,7 +72,6 @@ jobs:
7472
eslint:
7573
name: ESLint
7674
runs-on: ubuntu-latest
77-
if: github.event_name != 'pull_request'
7875
timeout-minutes: 45
7976
steps:
8077
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)