Merge pull request #1243 from j8r/run-merge-workflow-later

Run merge workflow 1 hour after update
This commit is contained in:
Lctrs 2022-10-23 23:12:49 +00:00 committed by GitHub
commit 5f4f6b12a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 23 deletions

View file

@ -1,22 +0,0 @@
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

View file

@ -2,6 +2,7 @@ name: Check for updates
on:
schedule: # for scheduling to work this file must be in the default branch
- cron: "30 0 * * *" # Every day at 00:30
- cron: "30 1 * * *" # merge the next hour
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab
jobs:
@ -9,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prevent the retrieval of newer commits
if: github.event.schedule == "30 1 * * *"
run: sed -i '/^ branch: master/d' net.rpcs3.RPCS3.yaml
- uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest
env:
GIT_AUTHOR_NAME: Flatpak External Data Checker

View file

@ -97,7 +97,7 @@ modules:
- type: git
url: https://github.com/RPCS3/rpcs3.git
branch: master
commit: ee3e36672c5fc1db971ec20776234c82aeaa417a
commit: 1a9e38a1dddc9180ad6ef75515b16239f3548379
- type: git
url: https://github.com/intel/ittapi.git
branch: master