CI / build (push) Successful in 3m19s
CI / gates (push) Successful in 1m5s
CI / record (push) Skipped
Reusable / Qodana / Qodana (push) Successful in 3m7s
Qodana / qodana (push) Successful in 3m7s
Reusable / Security / Secrets (gitleaks) (push) Successful in 10s
Reusable / Security / Rust (cargo-deny) (push) Skipped
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / SAST (Opengrep) (push) Successful in 24s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 17s
Security / security (push) Successful in 52s
CI / deploy (push) Successful in 1m9s
- ci: move the workflows to Gitea Actions (D38) - feat(site): source on Gitea, issues and bug reports on the GitLab mirror - docs: where the project lives now — Gitea, the GitLab mirror, e-mail - docs: the suite on Gitea — D38, CI/CD rewritten, every GitHub-era claim synced - fix(ci): what the first Gitea runs found — Qodana and gitleaks - fix(ci): .gitleaksignore describes the Sonar key instead of quoting it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
65 lines
2.5 KiB
YAML
65 lines
2.5 KiB
YAML
# docs/12 §5 — weekly full sweep of every official link in the dataset.
|
||
# PR-time checking covers only the links a PR adds, inside ci.yml's `gates`.
|
||
#
|
||
# ONE tracking issue, not one per week: the open issue is refreshed in place,
|
||
# and closed automatically the first week the sweep comes back clean
|
||
# (scripts/gitea.mjs `link-rot`; it once left 12 duplicates open on GitHub).
|
||
#
|
||
# Monday 14:43 UTC (21:43 Vietnam): scheduled jobs run only inside
|
||
# 13:00–16:00 UTC, on a slot no other repository uses (cron registry in
|
||
# poli0981/.github docs/migration/README.md). If the maintainer's PC is off,
|
||
# the run waits and starts when the runner comes back (cancelled after 24 h).
|
||
name: link-check
|
||
|
||
on:
|
||
schedule:
|
||
- cron: '43 14 * * 1'
|
||
workflow_dispatch:
|
||
|
||
permissions: {}
|
||
|
||
concurrency:
|
||
group: link-check
|
||
cancel-in-progress: false
|
||
|
||
jobs:
|
||
lychee:
|
||
runs-on: ubuntu-latest
|
||
timeout-minutes: 30
|
||
permissions:
|
||
contents: read
|
||
issues: write # the tracking issue
|
||
steps:
|
||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||
with:
|
||
persist-credentials: false
|
||
# extract-urls.mjs and gitea.mjs are plain Node, but they should run on
|
||
# the project's Node (.nvmrc), not whatever the runner image ships.
|
||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||
with:
|
||
node-version-file: .nvmrc
|
||
- run: node scripts/extract-urls.mjs > /tmp/urls.txt
|
||
|
||
- id: lychee
|
||
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
|
||
with:
|
||
# Kept in step with ci.yml's PR sweep — see the note there for why
|
||
# 403/429 are accepted. More retries with a longer wait: vendor
|
||
# sites blip, and a weekly job has the time to ride that out.
|
||
args: >-
|
||
--max-concurrency 4 --retry-wait-time 10 --max-retries 5 --timeout 45
|
||
--accept '200..=299,403,429'
|
||
/tmp/urls.txt
|
||
output: ./lychee/out.md
|
||
# Link rot is triage, not a build break — it updates an issue instead.
|
||
fail: false
|
||
|
||
- name: Refresh the tracking issue
|
||
env:
|
||
GITEA_API: ${{ github.api_url }}
|
||
GITEA_REPO: ${{ github.repository }}
|
||
GITEA_TOKEN: ${{ github.token }}
|
||
EXIT_CODE: ${{ steps.lychee.outputs.exit_code }}
|
||
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||
run: node scripts/gitea.mjs link-rot "$EXIT_CODE" ./lychee/out.md "$RUN_URL"
|