Skip to content

Commit cf088ed

Browse files
authored
Merge pull request #17 from Miki-Session/chore/add-qa-appium-automation
chore: add automated PR for QA/Appium
2 parents d7e8f66 + 757efde commit cf088ed

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/check_for_crowdin_updates.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
jobs_sync:
229229
name: Waiting for build jobs
230230

231-
needs: [build_android, build_ios, build_desktop]
231+
needs: [build_android, build_ios, build_desktop, build_qa]
232232
runs-on: ubuntu-latest
233233

234234
steps:
@@ -327,3 +327,31 @@ jobs:
327327
commit-message: ${{ env.PR_TITLE }}
328328
delete-branch: true
329329

330+
make_qa_pr:
331+
needs: [jobs_sync]
332+
name: Make QA PR (Appium)
333+
runs-on: ubuntu-latest
334+
steps:
335+
- name: Checkout Repo Content
336+
uses: actions/checkout@v4
337+
with:
338+
path: 'scripts'
339+
340+
- name: Checkout Session Appium
341+
uses: ./scripts/actions/checkout_qa
342+
343+
- uses: actions/download-artifact@v4
344+
with:
345+
name: session-qa
346+
path: "${{ github.workspace }}/appium/run/localizer"
347+
348+
- name: Create QA Pull Request
349+
uses: peter-evans/create-pull-request@v6
350+
with:
351+
path: 'appium'
352+
token: ${{ secrets.CROWDIN_PR_TOKEN }}
353+
title: ${{ env.PR_TITLE }}
354+
body: ${{ env.PR_DESCRIPTION }}
355+
branch: ${{ env.PR_TARGET_BRANCH }}
356+
commit-message: ${{ env.PR_TITLE }}
357+
delete-branch: true

actions/checkout_qa/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: 'Checkout QA'
2+
description: 'Checks out the Session Appium repository'
3+
runs:
4+
using: 'composite'
5+
steps:
6+
- name: Checkout Session Appium
7+
uses: actions/checkout@v4
8+
with:
9+
repository: session-foundation/session-appium
10+
path: 'appium'
11+
ref: 'main'

0 commit comments

Comments
 (0)