Skip to content

.github/workflows/main.yml #2577

.github/workflows/main.yml

.github/workflows/main.yml #2577

Workflow file for this run

on:
schedule:
- cron: '0 */12 * * *' # every 12 hours
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate README.md
uses: teoxoy/profile-readme-stats@v1.1
with:
token: ${{ secrets.USER_TOKEN }}
includeForks: true
- name: Update README.md
run: |
if [[ "$(git status --porcelain)" != "" ]]; then
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git commit -m "Update README"
git push
fi