Skip to content

Commit 80440b5

Browse files
authored
internal: trigger sanity workflow on push event (#93)
1 parent 6a43ab1 commit 80440b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/sanity-test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ concurrency:
1212

1313
jobs:
1414
sanity-tests:
15-
if: (github.event_name == 'pull_request' && github.event.action == 'ready_for_review') ||
16-
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
15+
if: |
16+
(github.event_name == 'pull_request' && github.event.action == 'ready_for_review') ||
17+
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved') ||
18+
(github.event_name == 'push' && github.ref == 'refs/heads/main')
1719
runs-on: tools-runner
1820

1921
steps:

0 commit comments

Comments
 (0)