Update KeepAlive.yml
This commit is contained in:
parent
3a53906386
commit
643a89a2da
4
.github/workflows/KeepAlive.yml
vendored
4
.github/workflows/KeepAlive.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user