Flatpak Manifest #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 development manifest | |
uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest | |
env: | |
GIT_AUTHOR_NAME: Flatpak External Data Checker | |
GIT_COMMITTER_NAME: Flatpak External Data Checker | |
# 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.atlas.Devel.yml | |
- name: Update stable manifest | |
uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest | |
env: | |
GIT_AUTHOR_NAME: Flatpak External Data Checker | |
GIT_COMMITTER_NAME: Flatpak External Data Checker | |
# 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.atlas.yml |