Skip to content

completions: 更新 git #169

completions: 更新 git

completions: 更新 git #169

Workflow file for this run

name: Update
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: |
.\scripts\auto-update-readme.ps1
- name: update completions.json
run: |
.\scripts\auto-update-completions.json.ps1
- name: Commit and push changes
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git add .
git commit -m "Automatically update some files"
git push