make postgres GH action conditional

v2.7-actions-add-3p-tests-parameter
Miro Stauder 1 year ago committed by GitHub
parent 7c6454205b
commit c86fcb75eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,24 @@
name: CI-3p-postgresql
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'
on:
workflow_dispatch:
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true
jobs:
run:
if: |
${{ (github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run) &&
startsWith(github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name, 'v3.') }}
uses: sysown/proxysql/.github/workflows/ci-3p-postgresql.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_POSTGRESQL_infradb_pgsql }}
connector: ${{ vars.MATRIX_3P_POSTGRESQL_connector_pgsql }}
Loading…
Cancel
Save