Skip to content

Commit

Permalink
feat(workflows): add update-readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abgox committed Jun 5, 2024
1 parent 0a94fca commit 383c672
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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

0 comments on commit 383c672

Please sign in to comment.