Skip to content

Commit 4b7b4cd

Browse files
committed
update
1 parent cff0b14 commit 4b7b4cd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@
33
# This workflow was copied from the link above.
44

55
name: "Validate Gradle Wrapper"
6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches: [main, 'rel-*']
9+
pull_request:
10+
branches: [main, 'rel-*']
11+
workflow_dispatch:
712

813
jobs:
914
validation:
1015
name: "Validation"
11-
runs-on: ubuntu-latest
16+
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-examples-Ubuntu2204-CPU"]
1217
steps:
1318
- uses: actions/checkout@v5
1419
- uses: gradle/actions/wrapper-validation@v4
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }}
22+
cancel-in-progress: true

0 commit comments

Comments
 (0)