Skip to content

Commit

Permalink
Add GH Actions
Browse files Browse the repository at this point in the history
srikanthlogic committed Jan 14, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
tvdeyen Thomas von Deyen
1 parent e4e8f4c commit d8b514a
Showing 2 changed files with 35 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Extract Google Play reviews

on:
workflow_dispatch:
push:
branches: ["main"]
paths: ["raw-data/applist.json"]
schedule:
- cron: '29 18 * * *'

permissions:
contents: write
pull-requests: write

jobs:
download-json-files:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]

- name: Extract Reviews
run: |
mkdir -p raw-data/reviews
cd script
python ExtractReviews.py
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Add new JSON files"
commit_options: '--no-verify'
file_pattern: 'raw-data/*.json raw-data/reviews/*.json'
3 changes: 2 additions & 1 deletion raw-data/applist.json
Original file line number Diff line number Diff line change
@@ -2,5 +2,6 @@
"in.dataevolve.digiyatra",
"in.net.uidai.qrcodescanner",
"in.gov.uidai.mAadhaarPlus",
"com.digilocker.android"
"com.digilocker.android",
"in.gov.diksha.app"
]

0 comments on commit d8b514a

Please sign in to comment.