[HOLD for payment 2023-11-13] Request Money - Selected date is correct but another one is highlighted #127189
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
name: Lock staging deploys during QA | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
lockStagingDeploys: | |
if: ${{ github.event.label.name == '🔐 LockCashDeploys 🔐' && contains(github.event.issue.labels.*.name, 'StagingDeployCash') && github.actor != 'OSBotify' }} | |
runs-on: macos-12 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
token: ${{ secrets.OS_BOTIFY_TOKEN }} | |
- name: Wait for staging deploys to finish | |
uses: Expensify/App/.github/actions/javascript/awaitStagingDeploys@main | |
with: | |
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} | |
- name: Comment in StagingDeployCash to give Applause the 🟢 to begin QA | |
run: | | |
gh issue comment \ | |
"$(gh issue list --label StagingDeployCash --json number --jq '.[0].number')" \ | |
--body ":rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/$(< package.json jq -r .version) :rocket:" | |
env: | |
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} | |
- name: Announce failed workflow | |
if: ${{ failure() }} | |
uses: Expensify/App/.github/actions/composite/announceFailedWorkflowInSlack@main | |
with: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |