-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (37 loc) · 1.31 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
name: Check for updates
on:
schedule:
- cron: "0 * * * *" # run every hour
workflow_dispatch:
jobs:
flatpak-external-data-checker:
runs-on: ubuntu-latest
container: ghcr.io/flathub/flatpak-external-data-checker:latest
strategy:
matrix:
branch: [ main ] # list all branches to check
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
# The f-e-d-c safe.directory handling is currently broken when the
# manifest is in a subdirectory, so it has to be handled outside
# of the checker.
#
# https://github.com/flathub/flatpak-external-data-checker/issues/386
- name: Mark git checkout safe
run: |
git config --global --add safe.directory "$PWD"
- name: Run flatpak-external-data-checker
env:
GIT_AUTHOR_NAME: Flatpak External Data Checker
GIT_COMMITTER_NAME: Flatpak External Data Checker
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_EMAIL: [email protected]
EMAIL: [email protected]
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
working-directory: build-aux/flatpak
run: |
/app/flatpak-external-data-checker --update --verbose --never-fork \
org.endlessos.Key.Devel.json