Skip to content

move scripts to .scripts - #76

Merged
katbyte merged 1 commit into
mainfrom
kt/dot-scripts
Oct 11, 2026
Merged

katbyte merged 1 commit into
mainfrom
kt/dot-scripts

Conversation

@katbyte

@katbyte katbyte commented Oct 11, 2026

Copy link
Copy Markdown
Owner

The scripts folder is now .scripts.

Why: my other projects keep their scripts in .scripts, and this repo should match so there is one place to look in all of them.

The folder. Its one script, the coverage badge publisher, moves across unchanged apart from its usage line.

-# Usage: PCT=81.0 GH_TOKEN=... ./scripts/publish-coverage-badge.sh
+# Usage: PCT=81.0 GH_TOKEN=... ./.scripts/publish-coverage-badge.sh

The coverage workflow. It names the script twice: once to decide whether a change should trigger it, and once to run it. Both now point at the new folder.

-      - 'scripts/publish-coverage-badge.sh'
+      - '.scripts/publish-coverage-badge.sh'
-        run: bash ./scripts/publish-coverage-badge.sh
+        run: bash ./.scripts/publish-coverage-badge.sh

Things that are fine as they are. The shellcheck make target and its workflow look for shell scripts anywhere in the repo, so they still find this one; I ran the target's search and it lists the script at its new path. Nothing else in the repo names the folder. The script kept its executable bit. No changelog entry, as nothing changes for anyone using the linter.

Not yet proven. The badge is only published from main, so the step that runs the script from its new path first runs for real after this merges.

Matches the layout the other projects now use. The coverage workflow and the script's usage line point at the new folder.
@katbyte
katbyte merged commit 08f7fb3 into main Oct 11, 2026
13 checks passed
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