Skip to content

Commit 77d6340

Browse files
committed
Add env variable to conditionally skip workflow execution.
1 parent 244e78e commit 77d6340

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ort.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ name: ort
1010
pull_request:
1111
branches:
1212
- master
13+
env:
14+
RUN_WORKFLOW: false
1315
jobs:
1416
ort:
1517
timeout-minutes: 15
1618
runs-on: ubuntu-24.04
19+
if: ${{ vars.RUN_WORKFLOW == 'true' }}
1720
steps:
1821
- uses: actions/checkout@v6
1922
# @todo #5102:30min Upgrade ORT once the SPDX crash is fixed upstream.

0 commit comments

Comments
 (0)