Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 20 additions & 5 deletions .github/workflows/pr-require-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: pr-require-checks
# Consumer-side gate for the org ci-gate ruleset: `ci-status` is one of the four
# required contexts, and it is only meaningful when it aggregates real lanes.
# This repository has no build and no package manager, so the lanes are the
# checkable content it does carry: the two shell scripts and the two JSON
# manifests. The root config files synced from melodic-software/standards are
# validated by their own tooling upstream and are deliberately not re-linted
# here.
# checkable content it does carry: the two shell scripts, the two JSON
# manifests, and the local links and anchors in its markdown. The root config
# files synced from melodic-software/standards are validated by their own
# tooling upstream and are deliberately not re-linted here.

on:
push:
Expand Down Expand Up @@ -104,8 +104,23 @@ jobs:
jq empty .claude/settings.json
jq empty .cursor/environment.json

lychee:
name: Offline links
if: ${{ !(github.event.pull_request.head.repo.full_name == github.repository && (contains(fromJSON('["labeled","unlabeled"]'), github.event.action) || (github.event.action == 'edited' && !github.event.changes.base))) }}
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Check local links and anchors
uses: melodic-software/ci-workflows/.github/actions/lychee-offline@594987abe8657a40bccc13d301f1f0d5cccb5348 # v0.39.8
with:
config: lychee.toml

ci-status:
needs: [check-scripts-and-manifests]
needs: [check-scripts-and-manifests, lychee]
if: ${{ !cancelled() }}
runs-on: ubuntu-24.04
# No run waits for another: with `yield-to-full-run` a contract-only run
Expand Down