Skip to content

feat(render): add autogenerated notice to workflow files#28

Merged
nialov merged 1 commit intonialov:masterfrom
lovesegfault:generated-notice
Dec 8, 2025
Merged

feat(render): add autogenerated notice to workflow files#28
nialov merged 1 commit intonialov:masterfrom
lovesegfault:generated-notice

Conversation

@lovesegfault
Copy link
Contributor

Summary

  • Generated YAML workflow files now include a header comment explaining they are autogenerated
  • The header includes instructions on where to find the source configuration in the flake
  • Users are shown how to regenerate via nix run .#render-workflows or the pre-commit hook

Example output

# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/main.yaml") and run:
#   nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
jobs:
  ...

Test plan

  • Ran nix run .#render-workflows and verified the header appears in generated files
  • Pre-commit hooks pass

Generated YAML files now include a header comment explaining:
- The file is autogenerated and shouldn't be edited manually
- Where to find the source configuration in the flake
- How to regenerate the file (nix run or pre-commit hook)
@nialov nialov merged commit ab27770 into nialov:master Dec 8, 2025
1 check passed
@nialov
Copy link
Owner

nialov commented Dec 8, 2025

Thanks, merged!

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.

2 participants