Skip to content

Commit

Permalink
Update statuscheck-runner.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ authored Jan 20, 2024
1 parent de5566e commit c5f39a8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/statuscheck-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}" }'

0 comments on commit c5f39a8

Please sign in to comment.