Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'CatimaLoyalty:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ziadOUA authored Sep 11, 2023
2 parents b2ede4c + 34a3f79 commit 2a187ec
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 20 deletions.
13 changes: 6 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
18 changes: 16 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,27 @@ on:
pull_request:
branches:
- main
permissions:
actions: none
checks: none
contents: read
deployments: none
discussions: none
id-token: none
issues: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
env:
JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
- name: Fail on bad translations
run: if grep -ri "<xliff" app/src/main/res/values*/strings.xml; then echo "Invalidly escaped translations found"; exit 1; fi
- uses: gradle/wrapper-validation-action@v1
Expand All @@ -34,7 +48,7 @@ jobs:
run: ./gradlew spotbugsRelease
- name: Archive test results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3.1.3
with:
name: test-results
path: app/build/reports
20 changes: 17 additions & 3 deletions .github/workflows/changelog-to-fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,36 @@ on:
- main
paths:
- 'CHANGELOG.md'
permissions:
actions: none
checks: none
contents: read
deployments: none
discussions: none
id-token: none
issues: none
packages: none
pages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: none
jobs:
convert_changelog_to_fastlane:
runs-on: ubuntu-latest
name: Convert CHANGELOG to Fastlane
steps:
- name: Checkout repo
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.0
with:
python-version: '3.x'
- name: Run converter script
run: python .scripts/changelog_to_fastlane.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v5.0.2
with:
title: "Update Fastlane changelogs"
commit-message: "Update Fastlane changelogs"
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/contributors-to-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@ on:
workflow_dispatch:
schedule:
- cron: '3 4 * * 0'

permissions:
actions: none
checks: none
contents: write
deployments: none
discussions: none
id-token: none
issues: none
packages: none
pages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: none
jobs:
contributors_to_file:
runs-on: ubuntu-latest
Expand All @@ -12,14 +25,14 @@ jobs:
steps:
- name: Checkout repo
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.0.0
- name: Update contributors
id: update_contributors
uses: TheLastProject/contributors-to-file-action@v3
uses: TheLastProject/contributors-to-file-action@v3.0.1
with:
file_in_repo: app/src/main/res/raw/contributors.txt
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v5.0.2
with:
title: "Update contributors"
commit-message: "Update contributors"
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/generate-feature-graphic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,25 @@ on:
- main
paths:
- 'fastlane/**/title.txt'
permissions:
actions: none
checks: none
contents: write
deployments: none
discussions: none
id-token: none
issues: none
packages: none
pages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: none
jobs:
generate-feature-graphic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
- name: Install requirements
run: |
sudo apt-get update
Expand Down Expand Up @@ -56,7 +70,7 @@ jobs:
popd
done
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v5.0.2
with:
title: "Update feature graphic"
commit-message: "Update feature graphic"
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/update-locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,29 @@ on:
- main
paths:
- app/src/main/res/values/settings.xml
permissions:
actions: none
checks: none
contents: write
deployments: none
discussions: none
id-token: none
issues: none
packages: none
pages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: none
jobs:
update-locales:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
- name: Update locales
run: .scripts/locales.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v5.0.2
with:
title: "Update locales"
commit-message: "Update locales"
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/res/raw/stocard_stores.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,7 @@ _id,name,barcodeFormat
1d49dc17-6906-4123-bcd5-7ab8fa1a7778,Анстер,CODE_128
1d737928-c513-44ce-992a-dc0c799daaf6,Zona Market,CODE_39
1dae65a7-6e7e-48f9-ae4e-902bf48f166b,Aвоська,CODE_128
1db293c9-5215-4940-8136-ffb9fb2d8de2,Hammer,CODE_128
1e075692-0044-4acf-a7a5-06f235bcf126,Nature's Garden,CODE_128
1e07e980-a5d7-4371-ac61-2d53b909d7de,Agorà,EAN_13
1e341520-6791-40dc-984c-6c3ef58a3e60,Vegetarian Card,EAN_13
Expand Down Expand Up @@ -1806,6 +1807,7 @@ _id,name,barcodeFormat
2377,大買家,CODE_128
2378,达芙妮,CODE_128
2379,達芙妮,CODE_128
2379fc78-8a67-433b-ba7f-9359e33dbfd5,INV,CODE_128
238,Niedermeyer,EAN_13
2380,美廉社,CODE_128
2381,美華泰,EAN_8
Expand Down Expand Up @@ -2130,6 +2132,7 @@ _id,name,barcodeFormat
2647,老百姓大药房,CODE_128
2648,豪客来,EAN_13
2649,特力和乐,EAN_13
264f0d93-6519-4931-bc67-a90906c83d6b,Omoda,CODE_128
265,Polo,CODE_39
2650,GXG,CODE_128
2651,大洋,CODE_128
Expand Down Expand Up @@ -3213,6 +3216,7 @@ _id,name,barcodeFormat
35,Beldona,EAN_13
350,Vino Club,EAN_13
3500,Eurospesa Ideashop,EAN_13
3500fa7d-449a-469e-84d1-c0cc75f7fe09,Réno-Dépôt,CODE_128
3501,Южный двор,EAN_13
3502,Rewardtfc,CODE_128
3503,Snappy,CODE_128
Expand Down Expand Up @@ -5389,6 +5393,7 @@ _id,name,barcodeFormat
553,Mayoral,CODE_128
55388f1f-e82f-409b-8b57-a5dde231749f,FDM,CODE_128
554,Meliá,CODE_128
554f77c9-9cfb-4edd-b378-a26f1608f7b9,trinkgut,CODE_128
555,Neck & Neck,CODE_39
556,Opticalia,CODE_128
5569b4b1-dbd4-410e-8a2e-af7d9eeac7ad,ДОБРОСТРОЙ,EAN_13
Expand Down Expand Up @@ -5722,6 +5727,7 @@ _id,name,barcodeFormat
6a122848-fe9d-4f5b-b5df-d3f1031c5583,Є книгарня,EAN_13
6a4e2358-f0db-434c-9f92-d37c017ec4ad,ENAPO,CODE_128
6a5ac3f8-04cb-4d14-884f-1231b72228e8,Топаз,EAN_13
6a7b1bc8-eca7-4323-9080-68af9414254f,CastoPro,CODE_128
6a85186a-bfd9-4078-a5da-db1b4e1fb526,Molders,CODE_128
6aa89061-d0b5-46a2-9019-b1cb7146e485,Just Plastics,CODE_128
6aa9bd9a-b099-4997-9fa1-b0a7525c6ec7,AZ Casa,EAN_13
Expand Down Expand Up @@ -6385,6 +6391,7 @@ _id,name,barcodeFormat
948,Paolo Conte,EAN_13
949,Finn Flare,EAN_8
9495b8a0-ae5e-410c-82b4-f6a5f66d3bd2,SE.COM STORE,CODE_128
94f48cf3-1b49-4abb-9514-8307adc46175,Little Italy Barber Shop,EAN_13
95,emilio adani,ITF
950,Олант,EAN_13
951,Лента,CODE_128
Expand Down Expand Up @@ -6637,6 +6644,7 @@ abd65b02-5fc2-416d-880f-cbb2a47b768b,DV8,EAN_13
abdef57c-a954-4860-9e3b-a7957f242c6b,Donetti,CODE_39
ac16ecc3-51d5-417e-993f-43616ad516a7,Academies Studentenkaart,QR_CODE
ac9b512b-1e30-4df0-b07e-1a8fd8875803,Conte,EAN_13
acc75558-87c2-4115-b884-5a558a0f74eb,Hibiscus Coast Softball Club,QR_CODE
acd80ee4-3556-4a9e-8847-2e4e7c6ce5b9,EU COVID-19 Certificat de Vaccination,QR_CODE
ad3f7a9b-1227-434d-9735-6b3437229404,Holland Casino,QR_CODE
ad413d8d-ca35-49b6-9da6-07f668df53be,Непоседа-сити,CODE_39
Expand Down Expand Up @@ -6876,6 +6884,7 @@ c649e96d-c14d-447a-8179-957c37783aea,Линия Здоровья,EAN_8
c674e2c2-820f-48bb-b5ad-8c1d5fb2b70f,Jumbo & Score,EAN_13
c7044929-a87e-4e59-a895-c1b5ad1b95ec,Konzum,CODE_39
c70a4f85-ee42-4f12-b800-339c9e4304d6,Blooker,EAN_13
c715e1a6-7335-421a-9c0a-e5aa7b4c7af5,The Radstock Co-operative Society,CODE_128
c7486964-f07f-4419-ae4d-2abe5efa8347,Айкрафт,CODE_128
c77229b5-5a87-40e1-842a-3752e7944486,Hill Street Grocer,CODE_128
c78913ef-53b2-40f5-b356-2b293270be50,Yo-get-it,CODE_39
Expand Down Expand Up @@ -7273,6 +7282,7 @@ f297047b-8a48-4c3d-928d-cbbd8d0497d1,аптека ника,EAN_13
f2a92584-5ef8-4220-b0ca-7aa48decd2e4,Artex Ieper,EAN_13
f2b9fa76-c78f-4d2c-821f-70678bc8d4d5,Parfümerie Becker,EAN_8
f2c8f722-9c5f-423d-9989-deca7901aa11,Poetry,CODE_128
f2d3f68c-7b77-4464-91d2-3162e74bea48,Neinver,EAN_13
f3189d64-dd39-468b-872d-3bb70e4d416c,The Watergardens Hotel ,CODE_128
f3287ab2-0308-42f8-92dc-3147456a4a69,НУЖНО!,EAN_13
f35a3882-27b2-417d-8093-e87f8f25509a,Первый Семейный,CODE_128
Expand Down

0 comments on commit 2a187ec

Please sign in to comment.