feat: setup libs #1
@@ -44,4 +44,13 @@ jobs:
|
|||||||
- name: Format
|
- name: Format
|
||||||
run: pnpm run fmt
|
run: pnpm run fmt
|
||||||
|
|
||||||
- uses: autofix-ci/action@v1
|
- name: Commit fixes
|
||||||
|
run: |
|
||||||
|
git config user.name "autofix"
|
||||||
|
git config user.email "noreply@autofix.ci"
|
||||||
|
git diff --quiet && git diff --staged --quiet || \
|
||||||
|
git commit -am "autofix: format" && \
|
||||||
|
git push "http://oauth2:${GITHUB_TOKEN}@${GITEA_HOST}:3000/${{ github.repository }}.git" HEAD:${{ github.head_ref }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
GITEA_HOST: ${{ secrets.GITEA_HOST_IP }}
|
||||||
|
|||||||
Reference in New Issue
Block a user