Skip to content

.github/workflows/main.yml #2715

.github/workflows/main.yml

.github/workflows/main.yml #2715

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/[email protected]
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