Repository navigation
ci!: standardise IaC on OpenTofu and finish the mise consolidation - #253
Merged
Merged
Conversation
- delete ci-terraform.yml and its workflow template; ci-opentofu.yml gains the working-directory input and an authenticated tflint --init - publish-node returns to setup-toolchain with cache: false, now that the action has a cache opt-out - ci-markdown runs markdownlint-cli2 from the caller's .mise.toml (npm backend) instead of a floating npx install - workflow-templates pins normalised to the @<sha> # vX.Y.Z convention and brought under Renovate's github-actions manager via renovate.json BREAKING CHANGE: ci-terraform.yml is gone — call ci-opentofu.yml with opentofu/tflint declared in .mise.toml. ci-markdown.yml now requires "npm:markdownlint-cli2" in the calling repository's .mise.toml.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second of the two improvement PRs (follows #252 / v2.1.0). Implements the remaining items, with IaC unified on OpenTofu per the decision to retire the Terraform workflow.
ci-terraform.ymldeleted.ci-opentofu.ymlgains theworking-directoryinput and an authenticatedtflint --init(GITHUB_TOKEN, avoids anonymous rate limits). The workflow template follows (ci-terraform.*→ci-opentofu.*)setup-toolchainwithcache: "false"(new input from v2.1.0) — same cache-free privileged path, one less direct mise-action referencemarkdownlint-cli2now comes from the caller's.mise.toml("npm:markdownlint-cli2") instead of a floatingnpxinstall; this repo declares it (0.24.2) with the checksummed.mise/locksartifacts committed@<sha> # vX.Y.Z(were stale@9b63cbc # main), andrenovate.jsonaddsworkflow-templates/to the github-actions manager so Renovate keeps them bumpedtypos.toml+.prettierignoreexclude*.lockand.mise/— the pre-commit auto-fixers (typos, oxfmt) were rewriting generated lockfiles (devlop→develop, YAML reformat), which breaks the sha256 digests recorded inmise.lock. Verified: hook-simulated typos+oxfmt leave the lock byte-identical and its hash matches the recorded digestBreaking changes
ci-terraform.ymlis gone — callci-opentofu.ymlwithopentofu/tflintdeclared in.mise.toml. Only caller is smallbiz-suite; its migration PR follows this releaseci-markdown.ymlrequires"npm:markdownlint-cli2"in the caller's.mise.toml. Only caller is this repo (already declared)Test plan
actionlint+markdownlint-cli2clean locallydevlopintact after simulated hook runtest-markdownexercises setup-toolchain@v2.1.0 + mise-installed markdownlint-cli2 end to end