mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-07-11 01:34:17 +02:00
a0a261db50
Bumps the ci-deps group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci-deps ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
name: 🏭 Update Controller Database
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 16 * * 1" # every monday @ 12pm EST - https://crontab.guru/#0_16_*_*_1
|
|
|
|
jobs:
|
|
update-controller-db:
|
|
if: github.repository == 'PCSX2/pcsx2'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Get Latest DB and Prepare DB File
|
|
run: |
|
|
cd .github/workflows/scripts/controller-db/
|
|
wget -O game_controller_db.txt https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
|
python ./update-db.py
|
|
mv ./game_controller_db.txt ${{github.workspace}}/bin/resources/game_controller_db.txt
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1
|
|
with:
|
|
title: "PAD: Update to latest controller database"
|
|
commit-message: "[ci skip] PAD: Update to latest controller database."
|
|
committer: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
|
|
author: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
|
|
body: "Weekly automatic update of SDL Controller DB."
|
|
branch: update-controller-db
|
|
delete-branch: true
|