chore: try fix pipeline
All checks were successful
autofix.ci / prepare (pull_request) Successful in 1m15s
All checks were successful
autofix.ci / prepare (pull_request) Successful in 1m15s
This commit is contained in:
@@ -52,6 +52,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit fixes
|
- name: Commit fixes
|
||||||
run: |
|
run: |
|
||||||
|
GITEA_HOST="${GITEA_HOST_IP:-172.20.0.1}"
|
||||||
git config user.name "autofix"
|
git config user.name "autofix"
|
||||||
git config user.email "noreply@autofix.ci"
|
git config user.email "noreply@autofix.ci"
|
||||||
git diff --quiet && git diff --staged --quiet || \
|
git diff --quiet && git diff --staged --quiet || \
|
||||||
@@ -59,4 +60,4 @@ jobs:
|
|||||||
git push "http://oauth2:${GITHUB_TOKEN}@${GITEA_HOST}:3000/${{ github.repository }}.git" HEAD:${{ github.head_ref }}
|
git push "http://oauth2:${GITHUB_TOKEN}@${GITEA_HOST}:3000/${{ github.repository }}.git" HEAD:${{ github.head_ref }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
GITEA_HOST: ${{ secrets.GITEA_HOST_IP }}
|
GITEA_HOST_IP: ${{ secrets.GITEA_HOST_IP }}
|
||||||
|
|||||||
Reference in New Issue
Block a user