Skip to content

Update README.md

Update README.md #7

Workflow file for this run

name: Build Repo Report
on:
push:
branches:
- master
schedule:
- cron: "0 0 1 1 *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Update README
run: |-
python repo_report.py
cat README.md
env:
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
- name: Commit and push if changed
run: |-
git diff
git config --global user.email "readme-bot@example.com"
git config --global user.name "README-bot"
git add -A
git commit -m "Updated content" || exit 0
git push