Skip to content

Commit

Permalink
add switch to bypass quality gate (#739)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman authored Nov 26, 2024
1 parent 42791e7 commit 3b15c63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
version:
description: tag the latest commit on main with the given version (prefixed with v)
required: true
bypassQualityGate:
description: bypass the quality gate check
required: false
default: false

permissions:
contents: read
Expand Down Expand Up @@ -49,6 +53,7 @@ jobs:
- name: Check nightly quality gate results
uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be #v1.2.0
id: nightly-quality-gate
if: ${{ github.event.inputs.bypassQualityGate != 'true' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
# This check name is defined as the github action job name (in .github/workflows/nightly-quality-gate.yaml)
Expand Down

0 comments on commit 3b15c63

Please sign in to comment.