mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Merge branch 'main' into bookmark_enhancement
This commit is contained in:
commit
5c7754b020
5 changed files with 24 additions and 10 deletions
22
.github/workflows/android-ci-comment.yml
vendored
22
.github/workflows/android-ci-comment.yml
vendored
|
|
@ -1,6 +1,10 @@
|
|||
name: Android CI Comment
|
||||
|
||||
on: [pull_request_target]
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Android CI"]
|
||||
types: [completed]
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
|
@ -9,16 +13,17 @@ jobs:
|
|||
comment:
|
||||
name: Comment on PR with APK links
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.workflow_run.conclusion == 'success'
|
||||
steps:
|
||||
- name: Checkout base branch
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.base_ref }}
|
||||
|
||||
ref: ${{ github.event.workflow_run.head_branch }}
|
||||
- name: Download Run ID Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: run-id
|
||||
run-id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: Read Run ID
|
||||
id: read-run-id
|
||||
|
|
@ -26,7 +31,7 @@ jobs:
|
|||
|
||||
- name: Comment on PR with APK download links
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
|
|
@ -41,6 +46,13 @@ jobs:
|
|||
throw new Error('Run ID not found.');
|
||||
}
|
||||
|
||||
// Get the PR number from the workflow_run event
|
||||
const prNumber = ${{ github.event.workflow_run.pull_requests[0].number }};
|
||||
if (!prNumber) {
|
||||
console.log('No PR number found in workflow_run event.');
|
||||
return;
|
||||
}
|
||||
|
||||
const { data: { artifacts } } = await github.rest.actions.listWorkflowRunArtifacts({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
|
@ -71,7 +83,7 @@ jobs:
|
|||
`;
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
issue_number: prNumber,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: commentBody
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Wikimedia Commons Android app
|
||||

|
||||
[](https://github.com/commons-app/apps-android-commons/actions?query=branch%3Amaster)
|
||||
[](https://github.com/commons-app/apps-android-commons/actions?query=branch%3Amain)
|
||||
[](https://appetize.io/app/8ywtpe9f8tb8h6bey11c92vkcw)
|
||||
[](https://codecov.io/gh/commons-app/apps-android-commons)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
* 1917 Ekim Devrimi
|
||||
* Envlh
|
||||
* Gambollar
|
||||
* GolyatGeri
|
||||
* Gorizon
|
||||
* Gırd
|
||||
* Marmase
|
||||
|
|
@ -199,7 +200,7 @@
|
|||
<string name="navigation_item_review">Çım berze cı</string>
|
||||
<string name="no_description_found">İzahat nêvineya</string>
|
||||
<string name="nearby_info_menu_commons_article">Pela dosyay commonsi</string>
|
||||
<string name="nearby_info_menu_wikidata_article">Pbcey Wikidata</string>
|
||||
<string name="nearby_info_menu_wikidata_article">Pbcey Wikidayıt</string>
|
||||
<string name="nearby_info_menu_wikipedia_article">Meqaley Wikipedia</string>
|
||||
<string name="upload_problem_exist">Muhtemel problemê nê resımi</string>
|
||||
<string name="upload_problem_image_dark">Resım zehf tariyo.</string>
|
||||
|
|
@ -216,7 +217,7 @@
|
|||
<string name="skip_login">Ravêre</string>
|
||||
<string name="navigation_item_login">Cı kewe</string>
|
||||
<string name="nearby_directions">Telimati</string>
|
||||
<string name="nearby_wikidata">Wikidata</string>
|
||||
<string name="nearby_wikidata">Wikidayıt</string>
|
||||
<string name="nearby_wikipedia">Wikipediya</string>
|
||||
<string name="nearby_commons">Commons</string>
|
||||
<string name="about_rate_us">Rey bıdê</string>
|
||||
|
|
@ -246,7 +247,7 @@
|
|||
<string name="explore_tab_title_featured">Weçinaye</string>
|
||||
<string name="explore_tab_title_mobile">Raya mobiliya biyo bar</string>
|
||||
<string name="explore_tab_title_map">Xerita</string>
|
||||
<string name="successful_wikidata_edit">Resım , Wikidata dê biyo obcey %1$s miyan!</string>
|
||||
<string name="successful_wikidata_edit">Resım , Wikidayıt dê biyo obcey %1$s miyan!</string>
|
||||
<string name="menu_set_wallpaper">Wallpaper eyar kerê</string>
|
||||
<string name="wallpaper_set_successfully">Wallpaper eyar biyo!</string>
|
||||
<string name="quiz">Quiz</string>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
<string name="menu_settings">امستنې</string>
|
||||
<string name="intent_share_upload_label">خونديځ ته راپورته کول</string>
|
||||
<string name="upload_in_progress">راپورته کول جريان لري</string>
|
||||
<string name="username">کارننوم</string>
|
||||
<string name="username">کارننوم</string>
|
||||
<string name="password">پټنوم</string>
|
||||
<string name="login_credential">خپل خونديځ بېټا ګڼون ته ورننوځئ</string>
|
||||
<string name="login">ننوتل</string>
|
||||
|
|
|
|||
|
|
@ -876,6 +876,7 @@
|
|||
<string name="account">Учётная запись</string>
|
||||
<string name="vanish_account">Удалить учётную запись</string>
|
||||
<string name="account_vanish_request_confirm_title">Предупреждение об удалении учётной записи</string>
|
||||
<string name="account_vanish_request_confirm">Удаление — это <b>крайняя мера</b>, и её следует <b>использовать только в том случае, если вы хотите навсегда прекратить редактирование</b>, а также скрыть как можно больше связанных с вами действий.<br/><br/> Удаление вашей учётной записи на Викискладе осуществляется путём изменения её имени, чтобы другие не могли определить ваши действия. <b>Удаление не гарантирует полной анонимности или удаления вклада в проектах</b>.</string>
|
||||
<string name="caption">Подпись</string>
|
||||
<string name="caption_copied_to_clipboard">Подпись скопирована в буфер обмена</string>
|
||||
<string name="congratulations_all_pictures_in_this_album_have_been_either_uploaded_or_marked_as_not_for_upload">Поздравляем, все фотографии в этом альбоме либо загружены, либо помечены как не предназначенные для загрузки.</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue