Skip to content

Flatpak Manifest

Flatpak Manifest #8

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 Flathub 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/flathub/com.github.ryonakano.pinit.Devel.yml
- 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.pinit.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.pinit.yml