Fix update checker (#13)
This commit is contained in:
parent
cc319ba0a7
commit
ded640c91b
4 changed files with 53 additions and 30 deletions
6
.github/workflows/update-check.yaml
vendored
6
.github/workflows/update-check.yaml
vendored
|
|
@ -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' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue