Skip to content

ci: build the docs on PRs that change the Makefile; pin syft - #34

Merged
pungoyal merged 1 commit into
mainfrom
ci/docs-paths-pin-syft
Sep 22, 2026
Merged

pungoyal merged 1 commit into
mainfrom
ci/docs-paths-pin-syft

Conversation

@pungoyal

Copy link
Copy Markdown
Owner

What and why

Two follow-ups from #32:

  • docs.yml now also runs on PRs that change the Makefile. Since ci: add 'make ci' to run the pull-request checks locally #32 the docs job runs make docs, so a PR that changes only that target should still build the site. The push paths are unchanged: a Makefile change on main doesn't need a redeploy.
  • syft is pinned in mise.toml to 1.51, the minor version download-syft (sbom-action v0.24.2) installs in CI (v1.51.1), instead of "latest". Every other tool there is pinned the same way.

How was this tested?

  • scenario test added or updated (internal/dotsync/dotsync_test.go): not applicable, workflow and tool config only
  • docs in website/src/content/docs/ updated if behavior changed: no behavior change
  • this change cannot lose a local modification without a backup, or resolve a conflict silently: no code change

mise install installs syft 1.51.1, and make snapshot then passes (it failed before #32 for lack of syft). make actionlint passes on the edited workflow.

🤖 Generated with Claude Code

docs.yml runs `make docs` since #32, so a PR that changes only that
target should build the site. Pin syft in mise.toml to the minor version
download-syft installs in CI (v1.51.1) instead of "latest".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pungoyal
pungoyal marked this pull request as ready for review September 22, 2026 05:32
@pungoyal
pungoyal merged commit d0c88c8 into main Sep 22, 2026
22 checks passed
@pungoyal
pungoyal deleted the ci/docs-paths-pin-syft branch September 22, 2026 05:49
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