Skip to content

ci: build the landing page on pull requests too - #4

Merged
tannevaled merged 1 commit into
mainfrom
ci/build-the-page-on-pull-request
Aug 20, 2026
Merged

tannevaled merged 1 commit into
mainfrom
ci/build-the-page-on-pull-request

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The workflow ran only on pushes to main, so a pull request touching the layout, the content or the Hugo version got no signal at all — its checks read "no checks", which is not the same thing as green.

Two changes, and only two

  • A pull_request trigger, so the existing build job runs on every PR.
  • A guard on deploy, so a pull request stops after building and uploading the artifact rather than replacing what is served.

Why this one was not in the batch of 192

This file puts environment: before needs: — an ordering the other 192 landing pages do not use, so the transform refused it rather than editing a shape it did not recognise. The tool was taught the second shape rather than these three being hand-edited, and it still refuses anything else: an already-gated file is refused, and the 192 produce byte-identical output to before.

Checked while here, and deliberately not changed

HUGO_VERSION is pinned at 0.135.0 — the same stale pin that had frozen go-filesystems.github.io at 15 cards once its template started using hugo.Data.

This site does not use hugo.Data, builds identically on 0.135.0 and 0.162.1, and the live page matches the built output. The pin is harmless here, so it is left alone rather than churned.

🤖 Generated with Claude Code

The workflow ran only on pushes to main, so a pull request touching the
layout, the content or the Hugo version got no signal at all -- its checks
read "no checks", which is not the same thing as green.

Two changes, and only two: a pull_request trigger so the existing build
job runs on every PR, and a guard on deploy so a pull request stops after
building and uploading the artifact rather than replacing what is served.

This file puts `environment:` before `needs:`, an ordering the other 192
landing pages do not use. The transform was taught that second shape
rather than these three being edited by hand, and it still refuses
anything it does not recognise -- an already-gated file is refused, and
the 192 produce byte-identical output to before.

Checked while here: HUGO_VERSION is pinned at 0.135.0, the same stale pin
that had frozen go-filesystems.github.io at 15 cards when its template
started using hugo.Data. This site does NOT use hugo.Data, builds
identically on 0.135.0 and 0.162.1, and the live page matches the built
output, so the pin is harmless here and is left alone.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 3a0bc9e into main Aug 20, 2026
2 checks passed
@tannevaled
tannevaled deleted the ci/build-the-page-on-pull-request branch August 20, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant