Update Commits History #5127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Commits History | |
# Helpful to know when it does not compile. | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: pip install --requirement=requirements.txt | |
- run: | | |
python gen.py > README.md | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BUILDKITE_TOKEN: ${{ secrets.BUILDKITE_TOKEN }} | |
- name: Show diff | |
run: git diff | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: update commits history | |
commit_author: github-actions[bot] <[email protected]> |