Merge pull request #1224 from j8r/update-once-a-day

Update commits once a day
This commit is contained in:
Lctrs 2022-10-09 22:33:16 +00:00 committed by GitHub
commit 542ee91a50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 2 deletions

22
.github/workflows/update.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Check for updates
on:
schedule: # for scheduling to work this file must be in the default branch
- cron: "0 0 * * *" # Every day at 00:00
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab
jobs:
flatpak-external-data-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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.community/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 net.rpcs3.RPCS3.yaml

View file

@ -1,5 +1,5 @@
{
"automerge-flathubbot-prs": true,
"only-arches": ["x86_64"],
"publish-delay-hours": 0
"disable-external-data-checker": true,
"only-arches": ["x86_64"]
}