Skip to content

Update README

Update README #519

Workflow file for this run

name: Update README
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "specs/*"
- ".github/workflows/*"
- "scripts/*"
workflow_run:
workflows: [Update spec files]
types:
- completed
permissions:
# Needs to write to this repo
contents: write
pull-requests: write
jobs:
update-readme:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
persist-credentials: false
fetch-depth: 3
ref: main
- name: Set up Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6
with:
python-version: "3.14"
cache: "pip"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install markdown
- name: Update README.md file
run: python3 scripts/create_readme.py
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" || true
git config --local user.name "github-actions[bot]" || true
git commit -a -m "Update README.md" || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.KUBEARCHITECTBOT_TOKEN || secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}