Skip to content

2024-12-02_Spring_Security #23

2024-12-02_Spring_Security

2024-12-02_Spring_Security #23

Workflow file for this run

name: Update README
on:
push:
branches:
- main
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: pip install -r requirements.txt || true
- name: Run README generator
run: python generate_readme.py
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git pull origin main --rebase || echo "No remote changes to rebase"
git add README.md
git commit -m "Auto-update README.md" || echo "No changes to commit"
git push origin main || git push --force origin main