Add update check for build
This commit is contained in:
parent
10fca68e03
commit
ed128ecb9d
3 changed files with 67 additions and 50 deletions
6
.github/workflows/update-check.yaml
vendored
6
.github/workflows/update-check.yaml
vendored
|
|
@ -7,11 +7,11 @@ on:
|
|||
- dev
|
||||
paths:
|
||||
- .github/workflows/update-check.yaml
|
||||
- update-check.sh
|
||||
- update-check.py
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/update-check.yaml
|
||||
- update-check.sh
|
||||
- update-check.py
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # runs everyday at midnight
|
||||
|
||||
|
|
@ -24,4 +24,4 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.PERSONAL_TOKEN }}
|
||||
- name: Check Update
|
||||
run: bash update-check.sh ${{ github.event_name == 'pull_request' }}
|
||||
run: python3 update-check.py ${{ github.event_name == 'pull_request' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue