Skip to content

feat(workflows): add update-readme.yml #1

feat(workflows): add update-readme.yml

feat(workflows): add update-readme.yml #1

Workflow file for this run

name: Update README
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Generate list and update README content
run: |
.\script\generate_list.ps1
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "${{ github.actor }}"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git add .
git commit -m "feat(README): update"
git push