Skip to content

Commit

Permalink
ci: Support skipping the qa-dev step in a promote action.
Browse files Browse the repository at this point in the history
Signed-off-by: Hiram Chirino <hiram@hiramchirino.com>
  • Loading branch information
chirino committed Mar 19, 2024
1 parent c45fc91 commit 1d69605
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,22 @@ concurrency: prod-${{ github.ref_name }}

on:
workflow_call:
inputs:
skip_qa_dev:
description: 'skip running the qa-dev workflow used to validate main prior to promotion'
required: false
type: boolean
workflow_dispatch:
inputs:
skip_qa_dev:
description: 'skip running the qa-dev workflow used to validate main prior to promotion'
required: false
type: boolean

jobs:
run-qa-dev:
if: github.event.inputs.skip_qa_dev != true

# Dispatch the qa-dev workflow to validate main prior to promotion
runs-on: ubuntu-latest

Expand Down

0 comments on commit 1d69605

Please sign in to comment.