From 93f6f38a1e3d37e739d9d3466e2b061bceccf901 Mon Sep 17 00:00:00 2001 From: RupertBarrow Date: Fri, 17 Nov 2023 18:10:30 +0100 Subject: [PATCH 1/2] feat: added option to delete-scratch-org (default: true) --- cumulusci-run-flow/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cumulusci-run-flow/action.yml b/cumulusci-run-flow/action.yml index 3530afa..6fde852 100644 --- a/cumulusci-run-flow/action.yml +++ b/cumulusci-run-flow/action.yml @@ -24,11 +24,15 @@ inputs: required: true cumulusci-service-github: required: true + delete-scratch-org: + required: false + type: boolean + default: true runs: using: "composite" steps: - - uses: RupertBarrow/cumulus-action-run-flow-scratch@main + - uses: RupertBarrow/cumulus-action-run-flow-scratch@6-make-deletion-of-scratch-org-optionnal with: dev-hub-auth-url: "${{ secrets.dev-hub-auth-url }}" cumulusci-service-github: "${{ secrets.cumulusci-service-github }}" @@ -37,3 +41,4 @@ runs: flow-name: "${{ inputs.flow-name }}" flow-task-options: "${{ inputs.flow-task-options }}" org-name: "${{ inputs.org-name }}" + delete-scratch-org: ${{ inputs.delete-scratch-org }} From 930e175637a41af5639bc691783523034c5cdd53 Mon Sep 17 00:00:00 2001 From: RupertBarrow Date: Fri, 17 Nov 2023 18:12:59 +0100 Subject: [PATCH 2/2] feat: added option to delete-scratch-org (default: true) --- .../workflows/cci-standard-workflow-run-flow-scratch.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cci-standard-workflow-run-flow-scratch.yml b/.github/workflows/cci-standard-workflow-run-flow-scratch.yml index 5ab5c6c..aac314d 100644 --- a/.github/workflows/cci-standard-workflow-run-flow-scratch.yml +++ b/.github/workflows/cci-standard-workflow-run-flow-scratch.yml @@ -20,6 +20,10 @@ on: flow-task-options: required: false type: string + delete-scratch-org: + required: false + type: boolean + default: true secrets: dev-hub-auth-url: required: true @@ -31,7 +35,7 @@ jobs: # Run Flow in scratch org runs-on: ubuntu-latest steps: - - uses: RupertBarrow/cumulus-action-run-flow-scratch@main + - uses: RupertBarrow/cumulus-action-run-flow-scratch@6-make-deletion-of-scratch-org-optionnal with: dev-hub-auth-url: "${{ secrets.dev-hub-auth-url }}" cumulusci-service-github: "${{ secrets.cumulusci-service-github }}" @@ -40,3 +44,4 @@ jobs: flow-name: "${{ inputs.flow-name }}" flow-task-options: "${{ inputs.flow-task-options }}" org-name: "${{ inputs.org-name }}" + delete-scratch-org: ${{ inputs.delete-scratch-org }}