Skip to content

Commit

Permalink
Add configurable flow name to run-tests workflow
Browse files Browse the repository at this point in the history
* Add `flow_name` input parameter with default value `ci_feature_2gp`
* Update `cci flow run` command to use the `flow_name` input parameter
  • Loading branch information
jlantz committed Nov 1, 2024
1 parent 7f397ec commit 9fcf96b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
required: false
default: false
type: boolean
flow_name:
required: false
default: ci_feature_2gp
type: string
secrets:
dev-hub-auth-url:
required: false
Expand Down Expand Up @@ -69,7 +73,7 @@ jobs:
GITHUB_APP_ID: "${{ secrets.github-app-id }}"
GITHUB_APP_KEY: "${{ secrets.github-app-key }}"
run: |
cci flow run ci_feature_2gp --start-from run-tests
cci flow run ${{ inputs.flow_name }} --start-from run-tests
shell: bash

- name: Capture CumulusCI Build History
Expand Down

0 comments on commit 9fcf96b

Please sign in to comment.