fix(qr): land on send screen when scanning with 0 balance (#5265) #108
Workflow file for this run
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: Bump App Version | |
on: | |
workflow_dispatch: | |
push: | |
# trigger on new minor release tags only | |
tags: | |
- valora-v[0-9]+.[0-9]+.0 | |
jobs: | |
bump-app-version: | |
# this job uses the pre-deploy script and agvtool which is only available on macos | |
runs-on: macos-11 | |
permissions: | |
pull-requests: write | |
env: | |
BRANCH_NAME: valora-bot/bump-app-version | |
steps: | |
- uses: google-github-actions/auth@v1 | |
with: | |
project_id: celo-mobile-mainnet | |
credentials_json: ${{ secrets.MAINNET_SERVICE_ACCOUNT_KEY }} | |
- name: Google Secrets | |
id: google-secrets | |
uses: google-github-actions/[email protected] | |
with: | |
secrets: |- | |
BOT_SSH_KEY:projects/1027349420744/secrets/BOT_SSH_PRIVATE_KEY | |
VALORA_BOT_TOKEN:projects/1027349420744/secrets/VALORA_BOT_TOKEN | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ steps.google-secrets.outputs.BOT_SSH_KEY }} | |
- uses: actions/checkout@v3 | |
with: | |
ref: main | |
- uses: ./.github/actions/yarn-install | |
- run: yarn ts-node .github/scripts/createAppVersionPr.ts | |
env: | |
VALORA_BOT_TOKEN: ${{ steps.google-secrets.outputs.VALORA_BOT_TOKEN }} | |
- uses: actions/github-script@v5 | |
with: | |
script: | | |
const allowedUpdatedFiles = [ | |
'android/app/build.gradle', | |
'android/gradle.properties', | |
'ios/celo.xcodeproj/project.pbxproj', | |
'package.json' | |
] | |
const script = require('.github/scripts/autoApprovePr.js') | |
await script({github, context, core, allowedUpdatedFiles}) | |
- uses: actions/github-script@v5 | |
with: | |
github-token: ${{ steps.google-secrets.outputs.VALORA_BOT_TOKEN }} | |
script: | | |
const script = require('.github/scripts/enableAutomergeOnPr.js') | |
await script({github, context, core}) |