diff --git a/.github/workflows/exodus_etip_json_data.yml b/.github/workflows/exodus_etip_json_data.yml new file mode 100644 index 000000000..1b1b6c419 --- /dev/null +++ b/.github/workflows/exodus_etip_json_data.yml @@ -0,0 +1,72 @@ +name: Update ETIP Trackers JSON + +on: + workflow_dispatch: # Allow manual triggering + schedule: + - cron: "0 0 * * 0" # Schedule to run every Sunday at midnight UTC (optional) + +jobs: + exodus_data: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Download JSON file + run: | + wget -O etip_trackers.json https://etip.exodus-privacy.eu.org/api/trackers/ + + - name: Parse JSON and create Android resource file + run: | + python - <> $GITHUB_ENV + + if [ -z "$GIT_STATUS" ]; then + echo "No changes detected..." + fi + + # Commit changes to the repo + - name: Commit changes + if: env.GIT_STATUS != '' + run: | + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" + git add . + git commit -m "Automated Exodus ETIP JSON data update" + git push origin master diff --git a/.idea/dictionaries/Hamza.xml b/.idea/dictionaries/Hamza.xml index a0b0b703f..caa71f871 100644 --- a/.idea/dictionaries/Hamza.xml +++ b/.idea/dictionaries/Hamza.xml @@ -137,6 +137,7 @@ ertuğrul esac español + etip euicc excidle extern