Fix update checker (#13)

This commit is contained in:
Xiaonan Shen
2020-11-19 20:11:20 -08:00
committed by GitHub
parent cc319ba0a7
commit ded640c91b
4 changed files with 53 additions and 30 deletions

View File

@@ -8,6 +8,10 @@ on:
paths:
- .github/workflows/update-check.yaml
- update-check.sh
pull_request:
paths:
- .github/workflows/update-check.yaml
- update-check.sh
schedule:
- cron: '0 0 * * *' # runs everyday at midnight
@@ -20,4 +24,4 @@ jobs:
with:
token: ${{ secrets.PERSONAL_TOKEN }}
- name: Check Update
run: bash update-check.sh
run: bash update-check.sh ${{ github.event_name == 'pull_request' }}