Check for updates #1477
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: Check for updates | |
on: | |
schedule: # for scheduling to work this file must be in the default branch | |
- cron: "0 * * * *" # run every hour | |
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab | |
jobs: | |
flatpak-external-data-checker: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
branch: [ main ] # list all branches to check | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ matrix.branch }} | |
- uses: docker://ghcr.io/flathub-infra/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://git.luolix.topmunity/t/github-actions-bot-email-address/17204/6 | |
GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com | |
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com | |
EMAIL: 41898282+github-actions[bot]@users.noreply.github.com | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: --update --never-fork com.tencent.WeChat.yaml |