Skip to content

Update API Status

Update API Status #133

Workflow file for this run

name: Update API Status
on:
schedule:
- cron: '0 0 * * *' # Run every day
workflow_dispatch:
jobs:
update-api-status:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run status check script
run: python .github/scripts/update_status.py
- name: Commit and push changes
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git add status.json
git commit -m "Update API status [skip ci]"
git push