Adds a guard job that greps go.mod for __MODULE_PATH__. When present (i.e. this is the raw template, not an instantiated project), check/build/deploy are skipped instead of failing.
Verified locally: ran scripts/new-project.sh (local-dev) end-to-end against this template in a scratch dir — placeholder substitution (module path, Taskfile binary names) already correct, confirming issues #4 and #5 are also already fixed at the source (stale, will close separately).
This PR itself is the live test: go.mod on this branch still has __MODULE_PATH__, so the guard should make this run skip cleanly instead of going red.
Closes #6.
Adds a `guard` job that greps `go.mod` for `__MODULE_PATH__`. When present (i.e. this is the raw template, not an instantiated project), `check`/`build`/`deploy` are skipped instead of failing.
Verified locally: ran `scripts/new-project.sh` (local-dev) end-to-end against this template in a scratch dir — placeholder substitution (module path, Taskfile binary names) already correct, confirming issues #4 and #5 are also already fixed at the source (stale, will close separately).
This PR itself is the live test: go.mod on this branch still has `__MODULE_PATH__`, so the guard should make this run skip cleanly instead of going red.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #6.
Adds a
guardjob that grepsgo.modfor__MODULE_PATH__. When present (i.e. this is the raw template, not an instantiated project),check/build/deployare skipped instead of failing.Verified locally: ran
scripts/new-project.sh(local-dev) end-to-end against this template in a scratch dir — placeholder substitution (module path, Taskfile binary names) already correct, confirming issues #4 and #5 are also already fixed at the source (stale, will close separately).This PR itself is the live test: go.mod on this branch still has
__MODULE_PATH__, so the guard should make this run skip cleanly instead of going red.