Skip to content

Commit

Permalink
Flatpak: Use External Data Checker (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored Dec 19, 2024
1 parent 3325b41 commit cc38a48
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/flatpak-x-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Flatpak Manifest
on:
schedule:
- cron: '0 0 * * 1' # run weekly
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab

jobs:
flatpak-external-data-checker:
name: Check for updates
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Update AppCenter development manifest
uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_COMMITTER_NAME: github-actions[bot]
# email sets "github-actions[bot]" as commit author, see https://github.com/orgs/community/discussions/26560
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# use --edit-only instead of --update to create single PR that updates all manifests
args: --edit-only --never-fork build-aux/appcenter/com.github.ryonakano.reco.Devel.yml

- name: Update AppCenter stable manifest
uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_COMMITTER_NAME: github-actions[bot]
# email sets "github-actions[bot]" as commit author, see https://github.com/orgs/community/discussions/26560
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: --update --never-fork com.github.ryonakano.reco.yml
6 changes: 6 additions & 0 deletions build-aux/appcenter/com.github.ryonakano.reco.Devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ modules:
url: https://github.com/lcallarec/live-chart.git
tag: 1.10.0
commit: 41e5803e61162d80a06974eebc67a511cc22e83d
x-checker-data:
type: git
tag-pattern: '^([\d.]+)$'

- name: gst-libav
buildsystem: meson
Expand All @@ -36,6 +39,9 @@ modules:
url: https://github.com/ryonakano/ryokucha.git
tag: 0.3.1
commit: 781f43d5c539bfe77c72fbaa32fc589a02b03c40
x-checker-data:
type: git
tag-pattern: '^([\d.]+)$'

- name: reco
buildsystem: meson
Expand Down
6 changes: 6 additions & 0 deletions com.github.ryonakano.reco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ modules:
url: https://github.com/lcallarec/live-chart.git
tag: 1.10.0
commit: 41e5803e61162d80a06974eebc67a511cc22e83d
x-checker-data:
type: git
tag-pattern: '^([\d.]+)$'

- name: gst-libav
buildsystem: meson
Expand All @@ -37,6 +40,9 @@ modules:
url: https://github.com/ryonakano/ryokucha.git
tag: 0.3.1
commit: 781f43d5c539bfe77c72fbaa32fc589a02b03c40
x-checker-data:
type: git
tag-pattern: '^([\d.]+)$'

- name: reco
buildsystem: meson
Expand Down

0 comments on commit cc38a48

Please sign in to comment.