update check #1769
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update check | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
paths: | |
- .github/workflows/update-check.yaml | |
- update-check.py | |
pull_request: | |
paths: | |
- .github/workflows/update-check.yaml | |
- update-check.py | |
schedule: | |
- cron: '0 0 * * *' # runs everyday at midnight | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
with: | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
- name: Check Update | |
run: python3 update-check.py ${{ github.event_name == 'pull_request' }} |