Skip to content

Commit 7fdcb5d

Browse files
committed
chore: Restrict push to be triggered for main only
1 parent e716506 commit 7fdcb5d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/spark_sql_test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
on:
25-
pull_request:
25+
push:
2626
branches:
2727
- main
2828
paths-ignore:
@@ -32,6 +32,14 @@ on:
3232
- "native/core/benches/**"
3333
- "native/spark-expr/benches/**"
3434
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
35+
pull_request:
36+
paths-ignore:
37+
- "doc/**"
38+
- "docs/**"
39+
- "**.md"
40+
- "native/core/benches/**"
41+
- "native/spark-expr/benches/**"
42+
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3543
# manual trigger
3644
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
3745
workflow_dispatch:

0 commit comments

Comments
 (0)