mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Update HowLongToBeat API URL
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
update-hltb-api-url:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
|
|
|
|
- name: Install python
|
|
run: |
|
|
uv python install 3.13
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
uv sync
|
|
|
|
- name: Run HLTB API URL discovery script
|
|
run: |
|
|
cd backend
|
|
uv run python -m utils.update_hltb_api_url
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
|
|
with:
|
|
add-paths: |
|
|
backend/handler/metadata/fixtures/hltb_api_url
|
|
commit-message: "Update HLTB API URL [skip CI]"
|
|
branch: update-hltb-api-url
|
|
sign-commits: true
|
|
title: "Update HLTB API URL [skip CI]"
|
|
reviewers: |
|
|
gantoine
|