-
Notifications
You must be signed in to change notification settings - Fork 89
30 lines (26 loc) · 973 Bytes
/
update.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Check for updates
on:
schedule: # for scheduling to work this file must be in the default branch
- cron: "0 0 * * 0" # 00:00 on every Sunday
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab
jobs:
flatpak-external-data-checker:
runs-on: ubuntu-latest
strategy:
matrix:
branch: [ master ] # list all branches to check
steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: flathubbot
GIT_COMMITTER_NAME: flathubbot
GIT_AUTHOR_EMAIL: sysadmin@flathub.org
GIT_COMMITTER_EMAIL: sysadmin@flathub.org
EMAIL: sysadmin@flathub.org
GITHUB_TOKEN: ${{ secrets.FLATHUBBOT_TOKEN }}
with:
# We don't want the default entrypoint, we want our own script
entrypoint: ./update-checker.sh