add a third argument catch #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name: Liquibase Rollback | |
# | |
#concurrency: | |
# group: db-actions | |
# cancel-in-progress: false | |
# | |
#on: | |
# workflow_dispatch: | |
# inputs: | |
# deploy_env: | |
# description: The environment of the database. | |
# required: true | |
# type: choice | |
# options: [demo, dev, dev2, dev3, dev4, dev5, dev6, dev7, pentest, test, training, stg, prod] | |
# default: dev | |
# action: | |
# description: The liquibase action to run. | |
# required: true | |
# type: choice | |
# options: [rollback] | |
# default: rollback | |
# liquibase_rollback_tag: | |
# description: The Liquibase tag to roll back to | |
# required: true | |
# type: string | |
# default: "" | |
# | |
#jobs: | |
# | |
# db_rollback_action: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: DB Liquibase Rollback | |
# uses: ./.github/actions/db-actions | |
# with: | |
# deploy_env: ${{ github.event.inputs.deploy_env }} | |
# action: ${{ github.event.inputs.action }} | |
# liquibase_rollback_tag: ${{ github.event.inputs.liquibase_rollback_tag }} | |
# azure_credentials: ${{ secrets.AZURE_CREDENTIALS }} | |
# acr_repo_url: ${{ secrets.ACR_REPO_URL }} | |
# acr_admin_username: ${{ secrets.ACR_ADMIN_USERNAME }} | |
# acr_admin_pasword: ${{ secrets.ACR_ADMIN_PASWORD }} | |
# terraform_arm_client_id: ${{ secrets.TERRAFORM_ARM_CLIENT_ID }} | |
# terraform_arm_client_secret: ${{ secrets.TERRAFORM_ARM_CLIENT_SECRET }} | |
# terraform_arm_subscription_id: ${{ secrets.TERRAFORM_ARM_SUBSCRIPTION_ID }} | |
# terraform_arm_tenant_id: ${{ secrets.TERRAFORM_ARM_TENANT_ID }} |