-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (34 loc) · 1.09 KB
/
on_hotfix_pull_request.yml
File metadata and controls
38 lines (34 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Check deploy hotfix test project
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
on_hotfix_pr:
name: Verify code base when hotfix pull request is published/updated
if: startsWith(github.head_ref, 'hotfix/')
env:
ANDROID_HOME: ${{ github.workspace }}/bin/androidSdk
runs-on: ubuntu-24.04
steps:
- name: 'Checkout codebase'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
lfs: 'true'
submodules: 'true'
fetch-depth: 0
- name: Run hotfix pr checks
uses: ./mobile-android-pipelines/actions/hotfix-pr
with:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SCREENSHOT_TEST_COMMAND: 'patterns:verifyPaparazziDebug componentsv2:verifyPaparazziDebug theme:verifyPaparazziDebug'