Skip to content

Commit

Permalink
Build: Trigger CI using on pull_request, push to master branch or tag…
Browse files Browse the repository at this point in the history
…s only (apache#4210)
  • Loading branch information
kbendick authored Mar 8, 2022
1 parent 3e019bb commit c6710cd
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 75 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/flink-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,10 @@
name: "Flink CI"
on:
push:
paths-ignore:
- '.github/workflows/python-ci.yml'
- '.github/workflows/spark-ci.yml'
- '.github/workflows/hive-ci.yml'
- '.github/workflows/cancel-duplicate-workflow-runs.yml'
- '.gitignore'
- 'dev/**'
- 'mr/**'
- 'hive3/**'
- 'hive3-orc-bundle/**'
- 'hive-runtime/**'
- 'spark/**'
- 'pig/**'
- 'python/**'
- 'python_legacy/**'
- 'docs/**'
- '.gitattributes'
- 'README.md'
- 'CONTRIBUTING.md'
branches:
- 'master'
tags:
- '**'
pull_request:
paths-ignore:
- '.github/workflows/python-ci.yml'
Expand Down
21 changes: 4 additions & 17 deletions .github/workflows/hive-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,10 @@
name: "Hive CI"
on:
push:
paths-ignore:
- '.github/workflows/python-ci.yml'
- '.github/workflows/spark-ci.yml'
- '.github/workflows/flink-ci.yml'
- '.github/workflows/cancel-duplicate-workflow-runs.yml'
- '.gitignore'
- 'dev/**'
- 'arrow/**'
- 'spark/**'
- 'flink/**'
- 'pig/**'
- 'python/**'
- 'python_legacy/**'
- 'docs/**'
- '.gitattributes'
- 'README.md'
- 'CONTRIBUTING.md'
branches:
- 'master'
tags:
- '**'
pull_request:
paths-ignore:
- '.github/workflows/python-ci.yml'
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,10 @@
name: "Java CI"
on:
push:
paths-ignore:
- '.github/workflows/python-ci.yml'
- '.github/workflows/spark-ci.yml'
- '.github/workflows/flink-ci.yml'
- '.github/workflows/hive-ci.yml'
- '.github/workflows/cancel-duplicate-workflow-runs.yml'
- '.gitignore'
- 'dev/**'
- 'python/**'
- 'python_legacy/**'
- 'docs/**'
- '.gitattributes'
- 'README.md'
- 'CONTRIBUTING.md'
branches:
- 'master'
tags:
- '**'
pull_request:
paths-ignore:
- '.github/workflows/python-ci.yml'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
name: "Python CI"
on:
push:
paths:
- '.github/workflows/python-ci.yml'
- 'python/**'
branches:
- 'master'
tags:
- '**'
pull_request:
paths:
- '.github/workflows/python-ci.yml'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/python-legacy-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
name: "Python Legacy CI"
on:
push:
paths:
- '.github/workflows/python-legacy-ci.yml'
- 'python_legacy/**'
branches:
- 'master'
tags:
- '**'
pull_request:
paths:
- '.github/workflows/python-legacy-ci.yml'
Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/spark-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,10 @@
name: "Spark CI"
on:
push:
paths-ignore:
- '.github/workflows/python-ci.yml'
- '.github/workflows/flink-ci.yml'
- '.github/workflows/hive-ci.yml'
- '.github/workflows/cancel-duplicate-workflow-runs.yml'
- '.gitignore'
- 'dev/**'
- 'mr/**'
- 'hive3/**'
- 'hive3-orc-bundle/**'
- 'hive-runtime/**'
- 'flink/**'
- 'pig/**'
- 'python/**'
- 'python_legacy/**'
- 'docs/**'
- '.gitattributes'
- 'README.md'
- 'CONTRIBUTING.md'
branches:
- 'master'
tags:
- '**'
pull_request:
paths-ignore:
- '.github/workflows/python-ci.yml'
Expand Down

0 comments on commit c6710cd

Please sign in to comment.