Skip to content

Commit

Permalink
Update firecloud-orch swat
Browse files Browse the repository at this point in the history
  • Loading branch information
knapii-developments committed Nov 15, 2023
1 parent 31b47ba commit b4e3f36
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/sam-build-tag-publish-and-run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,15 @@ jobs:
contents: 'read'
id-token: 'write'
steps:
- name: Select test context
id: test-context
run: |
if [ ${{ steps.extract-branch.outputs.name }} == "develop" ]; then
echo "test-context=dev-merge" >> "$GITHUB_OUTPUT"
else
echo "test-context=pr-test" >> "$GITHUB_OUTPUT"
fi
- name: dispatch to terra-github-workflows
uses: broadinstitute/workflow-dispatch@v3
with:
Expand All @@ -234,7 +243,11 @@ jobs:
ref: refs/heads/main
token: ${{ secrets.BROADBOT_TOKEN}} # github token for access to kick off a job in the private repo
# manually recalculate b/c env context is broken https://github.com/actions/runner/issues/480
inputs: '{ "bee-name": "${{ github.event.repository.name }}-${{ github.run_id }}-${{ matrix.terra-env }}", "ENV": "${{ matrix.testing-env }}" }'
inputs: '{
"bee-name": "${{ github.event.repository.name }}-${{ github.run_id }}-${{ matrix.terra-env }}",
"ENV": "${{ matrix.testing-env }}",
"test-context":${{ steps.test-context.outputs.test-context }}
}'

destroy-bee-workflow:
strategy:
Expand Down

0 comments on commit b4e3f36

Please sign in to comment.