From 4dff8de60ebcd6c64e31c3292172398ed539e501 Mon Sep 17 00:00:00 2001 From: Julien Reichardt Date: Tue, 18 Oct 2022 22:23:51 +0200 Subject: [PATCH] Add merge workflow --- .github/workflows/merge.yml | 22 ++++++++++++++++++++++ .github/workflows/update.yml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/merge.yml diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml new file mode 100644 index 0000000..b4209ad --- /dev/null +++ b/.github/workflows/merge.yml @@ -0,0 +1,22 @@ +name: Merge any pull request +on: + schedule: # for scheduling to work this file must be in the default branch + - cron: "0 1 * * *" # Every day at 01: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: --edit-only net.rpcs3.RPCS3.yaml diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 14453ae..6a73cb4 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,7 +1,7 @@ name: Check for updates on: schedule: # for scheduling to work this file must be in the default branch - - cron: "0 0,1 * * *" # Every day at 00:00 + - cron: "30 0 * * *" # Every day at 00:30 workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab jobs: