We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 58e3d08 + 30a486e commit c467236Copy full SHA for c467236
1 file changed
.github/workflows/preDeploy.yml
@@ -58,7 +58,12 @@ jobs:
58
59
- name: Check if merged pull request should trigger a deploy
60
id: shouldDeploy
61
- run: echo "SHOULD_DEPLOY=${{ (!fromJSON(steps.isStagingDeployLocked.outputs.IS_LOCKED) && github.actor != 'OSBotify') }}" >> "$GITHUB_OUTPUT"
+ run: |
62
+ if gh api /orgs/Expensify/teams/mobile-deployers/memberships/${{ github.actor }} --silent; then
63
+ echo "SHOULD_DEPLOY=${{ (!fromJSON(steps.isStagingDeployLocked.outputs.IS_LOCKED) && github.actor != 'OSBotify') }}" >> "$GITHUB_OUTPUT"
64
+ else
65
+ echo "SHOULD_DEPLOY=false" >> "$GITHUB_OUTPUT"
66
+ fi
67
68
skipDeploy:
69
runs-on: ubuntu-latest
0 commit comments