Skip to content

latest

latest #605

Workflow file for this run

name: latest
on:
push:
paths-ignore:
- '*.md'
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install PyYAML
- name: Run Script
run: python script.py
- name: Push Generated Files
run: |
git add .;
if git diff-index --quiet HEAD --; then
exit 0;
else
git config user.name github-actions;
git config user.email github-actions@github.com;
git commit -sam "🖨 Generate";
git push
fi