Files
archived-pcsx2-net-www/.github/workflows/update-compat.yaml
dependabot[bot] 57ea25df91 build(deps): bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 (#469)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.9 to 8.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7.0.9...v8.0.0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-03 17:29:28 +01:00

39 lines
1.3 KiB
YAML

name: Update Compatibility Data
on:
schedule:
- cron: "0 16 * * 1" # every monday @ 12pm EST - https://crontab.guru/#0_16_*_*_1
jobs:
update-compat:
if: github.repository == 'PCSX2/pcsx2-net-www' # Don't make these PRs on people's forks
name: Update Compatibility Data
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Download Latest
run: wget -O data.json https://forums.pcsx2.net/data/data.json
- name: Coerce Data
run: python ./scripts/coerce-compat-data.py
- name: Update Files
run: |
mv -f ./data-new.json ./static/compat/data.json
mv -f ./data-new.min.json ./static/compat/data.min.json
- name: Cleanup
run: rm ./data.json
# TODO - consider direct committing this once we have confidence
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8.0.0
with:
title: "Compat Data: Update compatibility data"
commit-message: "compat: Update to latest compatibility data"
committer: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
author: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
body: "Weekly automatic update of Compatibility Data"
reviewers: xTVaser