Skip to content

Commit dc6d224

Browse files
committed
Also skip AzDO testing
1 parent 6a9044f commit dc6d224

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci_common.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ on:
4545
type: string
4646
required: false
4747
default: devcontainers.ci
48-
publishAzdoExtension:
49-
description: Whether to publish the AzDO extension
48+
enableAzdo:
49+
description: Whether to run AzDO steps (test pipeline and publish)
5050
type: boolean
5151
required: false
5252
default: true
@@ -299,7 +299,7 @@ jobs:
299299
(cd github-action/ && npm install && npm run build && npm run package)
300300
301301
- name: Publish AzDO Task
302-
if: ${{ inputs.publishAzdoExtension }}
302+
if: ${{ inputs.enableAzdo }}
303303
uses: ./
304304
env:
305305
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -351,7 +351,7 @@ jobs:
351351
name: Run AzDO test
352352
runs-on: ubuntu-latest
353353
needs: build
354-
if: ${{ needs.build.outputs.image_push_option == 'filter' }}
354+
if: ${{ inputs.enableAzdo && needs.build.outputs.image_push_option == 'filter' }}
355355
steps:
356356
- name: Checkout
357357
uses: actions/checkout@v4

.github/workflows/ci_main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [main]
88
workflow_dispatch:
99
inputs:
10-
publishAzdoExtension:
11-
description: Publish the AzDO extension
10+
enableAzdo:
11+
description: Run AzDO steps
1212
type: boolean
1313
default: true
1414

@@ -25,6 +25,6 @@ jobs:
2525
uses: ./.github/workflows/ci_common.yml
2626
with:
2727
release: true
28-
publishAzdoExtension: ${{ inputs.publishAzdoExtension == '' && true || inputs.publishAzdoExtension }}
28+
enableAzdo: ${{ inputs.enableAzdo == '' && true || inputs.enableAzdo }}
2929
secrets:
3030
AZDO_TOKEN: ${{ secrets.AZDO_TOKEN }}

0 commit comments

Comments
 (0)