Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

README builder

README builder #3970

Workflow file for this run

name: README builder
on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
continue-on-error: true
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
- name: Install packages
run: npm install
- name: (Re)build README
run: npm --silent run build > README.md
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Check for changes (fail if none)
run: |
! git diff --quiet
- name: Commit changes if required
if: ${{ success() }}
run: |
git config --global user.email "thomas.jung@sap.com"
git config --global user.name "jung-thomas"
git add README.md
git commit -m 'update README' || exit 0
git push
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}