Skip to content

Commit d1c89f6

Browse files
Fix workflow to trigger on push to master/feature branch
1 parent 9209454 commit d1c89f6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test-arc-gpu-runners.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
name: Test ARC GPU Runners
55

66
on:
7+
push:
8+
branches:
9+
- master
10+
- main
11+
- 'feature/eks-arc-gpu-runners'
712
workflow_dispatch:
813
inputs:
914
test_light_runners:
@@ -19,7 +24,7 @@ on:
1924

2025
jobs:
2126
test-light-gpu-runner:
22-
if: ${{ inputs.test_light_runners }}
27+
if: ${{ github.event_name == 'push' || inputs.test_light_runners }}
2328
runs-on: light-gpu-runners
2429
timeout-minutes: 30
2530
steps:
@@ -89,7 +94,7 @@ jobs:
8994
'
9095
9196
test-heavy-gpu-runner:
92-
if: ${{ inputs.test_heavy_runners }}
97+
if: ${{ github.event_name == 'push' || inputs.test_heavy_runners }}
9398
runs-on: heavy-gpu-runners
9499
timeout-minutes: 30
95100
steps:

0 commit comments

Comments
 (0)