diff --git a/.github/workflows/generate-json-index.yml b/.github/workflows/generate-json-index.yml index a2a2cdc..f8ea9be 100644 --- a/.github/workflows/generate-json-index.yml +++ b/.github/workflows/generate-json-index.yml @@ -32,14 +32,15 @@ jobs: run: node .github/workflows/generate_index.js - name: 提交并推送更改 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --global user.name 'github-actions[bot]' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' git add publicFileIndex.json git commit -m '由Actions自动生成插件市场所需JSON索引' git push - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Delete workflow runs uses: Mattraks/delete-workflow-runs@main