mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-04 19:44:58 +00:00
MINOR: fix debug resolution in e2e python github workflow (#18437)
* fix debug default * fixed expression * test inverted expression * test inverted expression * added description * added logging for inputs debug, debug * fixed debug condition * added github ref * added github ref
This commit is contained in:
parent
fe4c63c210
commit
4c3a784f7c
6
.github/workflows/py-cli-e2e-tests.yml
vendored
6
.github/workflows/py-cli-e2e-tests.yml
vendored
@ -20,12 +20,12 @@ on:
|
||||
required: True
|
||||
default: '["bigquery", "dbt_redshift", "metabase", "mssql", "mysql", "redash", "snowflake", "tableau", "powerbi", "vertica", "python", "redshift", "quicksight", "datalake_s3", "postgres", "oracle", "athena", "bigquery_multiple_project"]'
|
||||
debug:
|
||||
description: "If Debugging the Pipeline, Slack and Sonar events won't be triggered [default, true or false]"
|
||||
description: "If Debugging the Pipeline, Slack and Sonar events won't be triggered [default, true or false]. Default will trigger only on main branch."
|
||||
required: False
|
||||
default: "default"
|
||||
|
||||
env:
|
||||
DEBUG: ${{ inputs.debug == 'true' || (inputs.debug == 'default' && github.ref != 'refs/heads/main') }}' }}
|
||||
DEBUG: "${{ ((inputs.debug == 'default' && github.ref == 'refs/heads/main') && 'true') || (inputs.debug != 'default' && inputs.debug) || 'false' }}"
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
outputs:
|
||||
DEBUG: ${{ env.DEBUG }}
|
||||
steps:
|
||||
- run: echo "null"
|
||||
- run: echo "INPUTS_DEBUG=${{ inputs.debug }}, GITHUB_REF=${{ github.ref }}, DEBUG=$DEBUG"
|
||||
|
||||
py-cli-e2e-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user