Skip to content

Commit 8f17ddd

Browse files
committed
Merge remote-tracking branch 'upstream/main' into jakubstec/domains/security-group-details-page-group-permissions4
2 parents 9d2e530 + d8bbee9 commit 8f17ddd

242 files changed

Lines changed: 4985 additions & 4098 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cherryPick.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ jobs:
7676
needs: createNewVersion
7777
runs-on: blacksmith-2vcpu-ubuntu-2404
7878
steps:
79+
- name: Check for in-progress deploy on target branch
80+
id: checkInProgressDeploy
81+
run: |
82+
# Capture in-progress deploy URL before we push. The actual Slack post is gated on a successful target-branch push.
83+
DEPLOY_RUN_URL=$(gh api \
84+
"repos/${{ github.repository }}/actions/workflows/deploy.yml/runs?branch=${{ inputs.TARGET }}&per_page=5" \
85+
--jq '.workflow_runs[] | select(.status != "completed") | .html_url' | head -n 1)
86+
echo "DEPLOY_RUN_URL=$DEPLOY_RUN_URL" >> "$GITHUB_OUTPUT"
87+
env:
88+
GITHUB_TOKEN: ${{ github.token }}
89+
7990
- name: Extract PR information
8091
# Note: this step is only skipped when there's no PULL_REQUEST_URL, which is only ever be the case when we're CPing just a version bump.
8192
if: ${{ inputs.PULL_REQUEST_URL != '' }}
@@ -229,6 +240,22 @@ jobs:
229240
git push origin ${{ inputs.TARGET }}
230241
fi
231242
243+
- name: Warn that previous deploy was superseded
244+
if: ${{ steps.cherryPick.outputs.HAS_CONFLICTS != 'true' && steps.checkInProgressDeploy.outputs.DEPLOY_RUN_URL != '' }}
245+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e
246+
with:
247+
status: custom
248+
custom_payload: |
249+
{
250+
channel: '#deployer',
251+
attachments: [{
252+
color: 'warning',
253+
text: `⚠️ ${{ inputs.TARGET == 'production' && 'Production' || 'Staging' }} <${{ steps.checkInProgressDeploy.outputs.DEPLOY_RUN_URL }}|deploy> cancelled by new cherry-pick`
254+
}]
255+
}
256+
env:
257+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
258+
232259
- name: Find deploy workflow run
233260
# Also runs for version-bump-only CPs where HAS_CONFLICTS is unset
234261
if: ${{ steps.cherryPick.outputs.HAS_CONFLICTS != 'true' }}

.github/workflows/deploy.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,42 @@ jobs:
649649
with:
650650
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
651651

652+
postSlackMessageOnCancellation:
653+
name: Post a Slack message when the deploy is cancelled manually
654+
runs-on: blacksmith-2vcpu-ubuntu-2404
655+
if: ${{ cancelled() }}
656+
needs: [androidBuild, androidUploadGooglePlay, androidSubmit, iosBuild, iosUploadTestflight, iosSubmit, webBuild, webDeploy]
657+
steps:
658+
- name: Check whether a newer deploy run exists
659+
id: check
660+
run: |
661+
# If a newer run exists, the cherry-pick workflow already announced this. Skip to avoid double-posting.
662+
LATEST=$(gh api \
663+
"repos/${{ github.repository }}/actions/workflows/deploy.yml/runs?branch=${{ github.ref_name }}&per_page=1" \
664+
--jq '.workflow_runs[0].id')
665+
if [ "$LATEST" != "${{ github.run_id }}" ]; then
666+
echo "SKIP=true" >> "$GITHUB_OUTPUT"
667+
fi
668+
env:
669+
GITHUB_TOKEN: ${{ github.token }}
670+
671+
- name: Post Slack message on manual cancellation
672+
if: ${{ steps.check.outputs.SKIP != 'true' }}
673+
# v3
674+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e
675+
with:
676+
status: custom
677+
custom_payload: |
678+
{
679+
channel: '#deployer',
680+
attachments: [{
681+
color: 'warning',
682+
text: `⚠️ ${{ github.ref == 'refs/heads/production' && 'Production' || 'Staging' }} <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|deploy> cancelled manually`
683+
}]
684+
}
685+
env:
686+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
687+
652688
checkDeploymentSuccess:
653689
runs-on: blacksmith-2vcpu-ubuntu-2404
654690
outputs:

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ android {
111111
minSdkVersion rootProject.ext.minSdkVersion
112112
targetSdkVersion rootProject.ext.targetSdkVersion
113113
multiDexEnabled rootProject.ext.multiDexEnabled
114-
versionCode 1009036711
115-
versionName "9.3.67-11"
114+
versionCode 1009036801
115+
versionName "9.3.68-1"
116116
// Supported language variants must be declared here to avoid from being removed during the compilation.
117117
// This also helps us to not include unnecessary language variants in the APK.
118118
resConfigs "en", "es"
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)