* ci: merge changelog PR, archive and release into one daily workflow
Every merge to main used to trigger the changelog workflow, which opened,
approved and merged its own PR, so a busy day produced a changelog PR per
merge. A single workflow now runs once a day at 00:01 UTC: it collects the
pull requests merged during the previous UTC day, publishes the GitHub
release, and opens one CHANGELOG.md PR. On Sundays it also archives entries
older than 30 days in the same PR.
Replaces changelog-pr.yml, changelog-archive.yml and github-release.yml.
workflow_dispatch takes an optional date and an archive flag to redo a day.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* ci: add a dry_run input to the daily release workflow
With dry_run the workflow builds the notes and prints the release body and
the CHANGELOG.md diff, but skips the app tokens, the release, the push and
the pull request.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* ci: keep one rolling changelog PR per day, merge it at 00:01 UTC
While the day is running, every merge to main and every merged core pull
request rebuilds the entries on the changelog branch, so the one pull request
shows the day's notes and a bad title can be fixed by renaming the pull
request it comes from. At 00:01 UTC the previous day is finished: the pull
request is rebuilt with the whole day, merged automatically, and the release
is created from the same notes.
The range starts at the newest entry in CHANGELOG.md, so a day that failed is
picked up by the next run. Notes are sorted by merge time so they do not
reshuffle between runs.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
A Source line naming a website skipped the script (Directus, Discourse
and 17 more). The repo now comes from its fetch_and_deploy_gh_*,
check_for_gh_*, get_latest_github_release or github.com URLs, if its
name or app argument matches the script, so a deployed dependency
(libvips, readium/cli) is not taken for the app.
The report also lists ct/ updates that do not run the install's
setup_nodejs, and a bump PR says so when it could not change ct/.
* Bump GitHub Actions across workflows
Update workflow dependencies to newer major versions in repository automation files. This upgrades `actions/checkout` to v7, `actions/github-script` to v9, `actions/create-github-app-token` to v3, and GitHub Pages actions (`upload-pages-artifact` and `deploy-pages`) to v5 to keep CI/CD and maintenance workflows current.
* add dependabot for gh actions
Update the node version drift check to count drift only when our script version is lower than upstream, so newer local versions no longer create false-positive drift issues.
Co-authored-by: Michel Roegl-Brunner <michel.roegl-brunner@example.com>
When extracting GitHub source URLs in the workflow, only search the "# Source:" line first to avoid matching other URLs (such as license links). Update the grep pipeline to filter for the Source line (case-insensitive) before extracting the https://github.com/... pattern and add explanatory comments.
* fix(workflow): improve Node.js version drift detection accuracy
1. Fix source URL regex: now captures 'Github: https://github.com/...'
pattern (pipe-separated), not just '# Source: https://github.com/...'
This was causing ~50 scripts to show 'No GitHub source'
2. Fix semver comparison: engines.node constraints like '>=18.0.0'
no longer flag version 22 as drift. >= and ^ constraints are now
properly evaluated (our_version >= min_major = satisfied)
3. Add fallback detection: when no Dockerfile or engines.node is found,
check .nvmrc and .node-version files for Node version hints
4. Add subdirectory search: Dockerfile and package.json are now found
via GitHub API tree search, not just in repo root
5. Use GitHub API to detect default branch instead of guessing
main/master/dev with multiple HEAD requests
* fix typos in node_version
* runs on vps
Scans all install scripts using setup_nodejs and compares our
NODE_VERSION with upstream Dockerfile and package.json values.
Features:
- Detects FROM node:XX, nodesource/setup_XX, FROM alpine:X.Y
- Resolves Alpine package registry for nodejs version when
upstream uses alpine base images
- Caches Alpine version lookups to minimize requests
- Creates individual GitHub issues per script with investigation
checklist when drift is detected
- Rate-limited to avoid GitHub API throttling
- Runs weekly on Monday at 06:00 UTC + manual dispatch