Skip to content

update graph

update graph #43

Workflow file for this run

name: update graph
on:
schedule:
# 1st day every month
- cron: '0 0 1 * *'
# every Saturday Sunday
- cron: '0 0 * * 6,0'
jobs:
update-graph:
name: Update graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: git setting
run: |
git config --local user.email "10195648+hmiyado@users.noreply.github.com"
git config --local user.name "hmiyado"
- run: |
set -x
sudo apt-get install gnuplot
./scripts/graph/generate_graph.sh
git add -A
git switch -c update-graph
git commit -m 'Update four keys images'
git push -u origin update-graph
gh pr create --fill --head update-graph --base main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}