mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
28 lines
577 B
YAML
28 lines
577 B
YAML
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@v4
|
|
with:
|
|
token: ${{ secrets.PERSONAL_TOKEN }}
|
|
- name: Check Update
|
|
run: python3 update-check.py ${{ github.event_name == 'pull_request' }}
|