Skip to content

Commit 4a36d0d

Browse files
committed
Make ARM_CI trigger on kokoro:force-run label
1 parent c774d02 commit 4a36d0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/arm-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ on:
2121
- master
2222
- r2.**
2323
pull_request:
24-
types: [opened, synchronize, reopened]
24+
types: [labeled, opened, synchronize, reopened]
2525
branches:
2626
- master
2727
- r2.**
2828

2929
jobs:
3030
build:
31-
if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
31+
# Don't do this in forks, and if labeled, only for 'kokoro:force-run'
32+
if: github.repository == 'tensorflow/tensorflow' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'kokoro:force-run'))
3233
runs-on: [self-hosted, linux, ARM64]
3334
strategy:
3435
matrix:

0 commit comments

Comments
 (0)