Check new supported apps

This commit is contained in:
Nikhil Badyal
2023-08-05 20:01:48 +05:30
parent f8528772fb
commit 84d833dadc
7 changed files with 83 additions and 40 deletions
+41
View File
@@ -0,0 +1,41 @@
name: Check for new apps
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
status_check:
if: github.repository == 'nikhilbadyal/docker-py-revanced'
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@main
- name: setup python
uses: actions/setup-python@main
with:
python-version: '3.10'
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Execute Status Check
run: |
output=$(python -m scripts.status_check)
echo "changelog=$output" >>$GITHUB_OUTPUT
id: status
- name: Update Check
run: echo "${{ steps.status.outputs.changelog }}"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5.0.2
with:
token: ${{ secrets.GH_TOKEN }}
branch: revanced-update/status-check
title: Revanced apps
commit-message: revanced-app
body: ${{ steps.status.outputs.changelog }}