net.rpcs3.RPCS3/.github/workflows/update.yml

27 lines
1.2 KiB
YAML
Raw Normal View History

2022-10-08 12:30:28 +00:00
name: Check for updates
on:
schedule: # for scheduling to work this file must be in the default branch
2022-10-18 20:23:51 +00:00
- cron: "30 0 * * *" # Every day at 00:30
2022-10-21 22:58:00 +00:00
- cron: "30 1 * * *" # merge the next hour
2022-10-08 12:30:28 +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
2022-10-21 22:58:00 +00:00
- name: Prevent the retrieval of newer commits
2022-10-27 11:35:31 +00:00
if: github.event.schedule == '30 1 * * *'
2022-10-25 11:12:40 +00:00
run: "sed -i '/^ branch: master/d' net.rpcs3.RPCS3.yaml"
2022-10-08 12:30:28 +00:00
- 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