Update KeepAlive.yml

This commit is contained in:
イレイナ❤ 2021-01-01 16:40:32 +08:00 committed by GitHub
parent 3a53906386
commit 643a89a2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ jobs:
git config --local user.email "action@github.com" git config --local user.email "action@github.com"
git config --local user.name "GitHub Action" git config --local user.name "GitHub Action"
git add . git add .
git diff --quiet && git diff --staged --quiet || git commit -am 'avoid being suspended' git diff --quiet && git diff --staged --quiet || git commit -am 'Keep Github Action Alive XD'
echo ::set-output name=status::success echo ::set-output name=status::success
- name: 'GitHub Push' - name: 'GitHub Push'
@ -29,4 +29,4 @@ jobs:
uses: ad-m/github-push-action@v0.6.0 uses: ad-m/github-push-action@v0.6.0
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }} branch: ${{ github.ref }}