-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de5566e
commit c5f39a8
Showing
1 changed file
with
4 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ jobs: | |
shouldc: ${{ steps.checkc.outputs.shouldc }} | ||
shouldtun: ${{ steps.checkc.outputs.shouldtun }} | ||
shouldtui: ${{ steps.checkc.outputs.shouldtui }} | ||
shouldta: ${{ steps.checkc.outputs.shouldta }} | ||
steps: | ||
- name: Check | ||
id: checkc | ||
|
@@ -30,16 +29,11 @@ jobs: | |
else | ||
echo "::set-output name=shouldtun::true" | ||
fi | ||
if [[ "${{ github.event.comment.body }}" != *"!Run UI Test"* ]]; then | ||
if [[ "${{ github.event.comment.body }}" != *"!Deploy TF"* ]]; then | ||
echo "::set-output name=shouldtui::false" | ||
else | ||
echo "::set-output name=shouldtui::true" | ||
fi | ||
if [[ "${{ github.event.comment.body }}" != *"!Run test"* ]]; then | ||
echo "::set-output name=shouldta::false" | ||
else | ||
echo "::set-output name=shouldta::true" | ||
fi | ||
get-head-sha: | ||
name: Get Pull Request Head SHA | ||
needs: checkif | ||
|
@@ -93,8 +87,8 @@ jobs: | |
workflow: company-export.yml | ||
ref: ${{ needs.get-head-sha.outputs.psha }} | ||
inputs: '{ "psha": "${{ needs.get-head-sha.outputs.psha }}", "repository": "${{ needs.get-head-sha.outputs.repository }}", "lsha": "${{ needs.get-head-sha.outputs.lsha }}" }' | ||
call-ui-test-workflow: | ||
name: Call UI Test Overflow | ||
call-tf-deploy-workflow: | ||
name: Call TestFlight Internal Deploy Overflow | ||
needs: | ||
- get-head-sha | ||
- checkif | ||
|
@@ -106,6 +100,6 @@ jobs: | |
- name: Call | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: ui-test.yml | ||
workflow: tf.yml | ||
ref: ${{ needs.get-head-sha.outputs.psha }} | ||
inputs: '{ "psha": "${{ needs.get-head-sha.outputs.psha }}", "repository": "${{ needs.get-head-sha.outputs.repository }}", "lsha": "${{ needs.get-head-sha.outputs.lsha }}" }' |