mirror of
https://github.com/AstronautCheetah/frame-tweaks.git
synced 2026-10-17 14:00:17 +02:00
Frame Tweaks runs the installers of the projects it links to (Recline, Full Keyboard, Frametop) and checks only that they're installed, so a release can change what a tweak's page says or move the file its status checks. dev/check-links.py, daily in .github/workflows/linked.yml, keeps an issue labelled linked-check: a release newer than the one last looked at (lib/tested-versions, link-ID=TAG), or a README that no longer names the file link.installed checks. dev/upstream-issue.sh takes the issue's label and title for it. Recline's page says it builds Recline-VR's main branch, as its README says for the Frame (kept at its latest release): the owner's choice over pinning releases.
34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
name: Linked projects
|
|
# Daily: has a project Frame Tweaks links to (a manifest's link:) put out a release since it was
|
|
# last looked at, or stopped naming in its README the file its status checks? Keeps one issue
|
|
# (label "linked-check") up to date with the answer; see dev/check-links.py. (Light: a few
|
|
# requests to GitHub per project.)
|
|
on:
|
|
schedule:
|
|
- cron: "41 7 * * *" # every day, 07:41 UTC
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
actions: write # to keep this schedule switched on (below)
|
|
concurrency:
|
|
group: linked-check
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-24.04 # (named, not ubuntu-latest: a new Ubuntu comes in when we try it, not by surprise)
|
|
timeout-minutes: 10
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
GH_REPO: ${{ github.repository }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- name: Check
|
|
run: dev/check-links.py > report.md || true; cat report.md
|
|
- name: Update the issue
|
|
run: |
|
|
dev/upstream-issue.sh report.md linked-check "Linked projects: releases to look at" "Daily dev/check-links.py"
|
|
# GitHub switches scheduled workflows off after 60 days without commits (as upstream.yml).
|
|
- name: Keep this schedule on
|
|
if: github.event_name == 'schedule'
|
|
run: gh api -X PUT "repos/$GH_REPO/actions/workflows/linked.yml/enable"
|