Skip to content

Update Url

Update Url #12

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Update Url
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run py scripts
run: python update_star_history_img_url.py
- name: Git Add diff contents
run: git add README.md
- name: Commit md files
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git commit -m "bot update star history img url" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{secrets.TOKEN}}
branch: main