Skip to content

Commit decd2b7

Browse files
authored
Add trigger_all_tests trigger to postcommits (#29253)
1 parent 1f5bddc commit decd2b7

91 files changed

Lines changed: 274 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/beam_Java_JMH.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ name: Java JMH
1818
on:
1919
schedule:
2020
- cron: '0 0 * * 0'
21+
pull_request_target:
22+
paths: ['release/trigger_all_tests.json']
2123
workflow_dispatch:
2224

2325
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -52,6 +54,7 @@ jobs:
5254
beam_Java_JMH:
5355
if: |
5456
github.event_name == 'workflow_dispatch' ||
57+
github.event_name == 'pull_request_target' ||
5558
(github.event_name == 'schedule' && github.repository == 'apache/beam')
5659
runs-on: [self-hosted, ubuntu-20.04, main]
5760
timeout-minutes: 900

.github/workflows/beam_PostCommit_Go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ name: PostCommit Go
1818
on:
1919
schedule:
2020
- cron: '30 3/6 * * *'
21+
pull_request_target:
22+
paths: ['release/trigger_all_tests.json']
2123
workflow_dispatch:
2224

2325
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -50,6 +52,7 @@ jobs:
5052
beam_PostCommit_Go:
5153
if: |
5254
github.event_name == 'workflow_dispatch' ||
55+
github.event_name == 'pull_request_target' ||
5356
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
5457
github.event.comment.body == 'Run Go PostCommit'
5558
runs-on: [self-hosted, ubuntu-20.04, main]

.github/workflows/beam_PostCommit_Go_Dataflow_ARM.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ on:
2424
types: [created]
2525
schedule:
2626
- cron: '30 3/6 * * *'
27+
pull_request_target:
28+
paths: ['release/trigger_all_tests.json']
2729
workflow_dispatch:
2830

2931
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -57,6 +59,7 @@ jobs:
5759
if: |
5860
github.event_name == 'push' ||
5961
github.event_name == 'workflow_dispatch' ||
62+
github.event_name == 'pull_request_target' ||
6063
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
6164
github.event.comment.body == 'Run Go PostCommit Dataflow ARM'
6265
runs-on: [self-hosted, ubuntu-20.04, main]

.github/workflows/beam_PostCommit_Go_VR_Flink.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ name: PostCommit Go VR Flink
1818
on:
1919
schedule:
2020
- cron: '30 3/6 * * *'
21+
pull_request_target:
22+
paths: ['release/trigger_all_tests.json']
2123
workflow_dispatch:
2224

2325
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -50,6 +52,7 @@ jobs:
5052
beam_PostCommit_Go_VR_Flink:
5153
if: |
5254
github.event_name == 'workflow_dispatch' ||
55+
github.event_name == 'pull_request_target' ||
5356
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
5457
github.event.comment.body == 'Run Go Flink ValidatesRunner'
5558
runs-on: [self-hosted, ubuntu-20.04, main]

.github/workflows/beam_PostCommit_Go_VR_Samza.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ name: PostCommit Go VR Samza
1818
on:
1919
schedule:
2020
- cron: '30 3/6 * * *'
21+
pull_request_target:
22+
paths: ['release/trigger_all_tests.json']
2123
workflow_dispatch:
2224

2325
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -50,6 +52,7 @@ jobs:
5052
beam_PostCommit_Go_VR_Samza:
5153
if: |
5254
github.event_name == 'workflow_dispatch' ||
55+
github.event_name == 'pull_request_target' ||
5356
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
5457
github.event.comment.body == 'Run Go Samza ValidatesRunner'
5558
runs-on: [self-hosted, ubuntu-20.04, main]

.github/workflows/beam_PostCommit_Go_VR_Spark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ name: PostCommit Go VR Spark
1818
on:
1919
schedule:
2020
- cron: '30 3/6 * * *'
21+
pull_request_target:
22+
paths: ['release/trigger_all_tests.json']
2123
workflow_dispatch:
2224

2325
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -50,6 +52,7 @@ jobs:
5052
beam_PostCommit_Go_VR_Spark:
5153
if: |
5254
github.event_name == 'workflow_dispatch' ||
55+
github.event_name == 'pull_request_target' ||
5356
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
5457
github.event.comment.body == 'Run Go Spark ValidatesRunner'
5558
runs-on: [self-hosted, ubuntu-20.04, main]

.github/workflows/beam_PostCommit_Java.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ name: PostCommit Java
2020
on:
2121
schedule:
2222
- cron: '0 5/6 * * *'
23+
pull_request_target:
24+
paths: ['release/trigger_all_tests.json']
2325
workflow_dispatch:
2426

2527
# This allows a subsequently queued workflow run to interrupt previous runs
@@ -59,6 +61,7 @@ jobs:
5961
job_phrase: [Run Java PostCommit]
6062
if: |
6163
github.event_name == 'workflow_dispatch' ||
64+
github.event_name == 'pull_request_target' ||
6265
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
6366
github.event.comment.body == 'Run Java PostCommit'
6467
steps:

.github/workflows/beam_PostCommit_Java_Avro_Versions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ name: PostCommit Java Avro Versions
2020
on:
2121
schedule:
2222
- cron: '30 3/6 * * *'
23+
pull_request_target:
24+
paths: ['release/trigger_all_tests.json']
2325
workflow_dispatch:
2426

2527
# This allows a subsequently queued workflow run to interrupt previous runs
@@ -59,6 +61,7 @@ jobs:
5961
job_phrase: [Run Java Avro Versions PostCommit]
6062
if: |
6163
github.event_name == 'workflow_dispatch' ||
64+
github.event_name == 'pull_request_target' ||
6265
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
6366
github.event.comment.body == 'Run Java Avro Versions PostCommit'
6467
steps:

.github/workflows/beam_PostCommit_Java_BigQueryEarlyRollout.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ name: PostCommit Java BigQueryEarlyRollout
2020
on:
2121
schedule:
2222
- cron: '30 3/6 * * *'
23+
pull_request_target:
24+
paths: ['release/trigger_all_tests.json']
2325
workflow_dispatch:
2426

2527
# This allows a subsequently queued workflow run to interrupt previous runs
@@ -59,6 +61,7 @@ jobs:
5961
job_phrase: [Run Java BigQueryEarlyRollout PostCommit]
6062
if: |
6163
github.event_name == 'workflow_dispatch' ||
64+
github.event_name == 'pull_request_target' ||
6265
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
6366
github.event.comment.body == 'Run Java BigQueryEarlyRollout PostCommit'
6467
steps:

.github/workflows/beam_PostCommit_Java_DataflowV1.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ name: PostCommit Java Dataflow V1
2020
on:
2121
schedule:
2222
- cron: '30 3/6 * * *'
23+
pull_request_target:
24+
paths: ['release/trigger_all_tests.json']
2325
workflow_dispatch:
2426

2527
# This allows a subsequently queued workflow run to interrupt previous runs
@@ -59,6 +61,7 @@ jobs:
5961
job_phrase: [Run PostCommit_Java_Dataflow]
6062
if: |
6163
github.event_name == 'workflow_dispatch' ||
64+
github.event_name == 'pull_request_target' ||
6265
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
6366
github.event.comment.body == 'Run PostCommit_Java_Dataflow'
6467
steps:

0 commit comments

Comments
 (0)