Skip to content

Issue Graph

Issue Graph #1221

Workflow file for this run

name: Issue Graph
on:
push:
schedule:
- cron: '0 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install deps
run: |
sudo apt-get update
sudo apt-get -y install gnuplot make
python -m pip install --upgrade pip
pip install github3.py
- name: Compile
run: make
- name: Artifacts
uses: actions/upload-artifact@v2
with:
name: issue-graph
path: |
graph.png
retention-days: 2
- name: Commit graph
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "parazyd"
git commit -m "Add today's graph" graph.png result.tsv
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}