Closed
Conversation
GitHub now supports YAML anchors¹, meaning this codebase can be
simplified.
Most changes were done programmatically:
1. Remove the generated files
rm .github/workflows/pathogen-repo-ci.yaml .github/workflows/pathogen-repo-build.yaml
2. Rename the template files
mv .github/workflows/pathogen-repo-ci.yaml.in .github/workflows/pathogen-repo-ci.yaml
mv .github/workflows/pathogen-repo-build.yaml.in .github/workflows/pathogen-repo-build.yaml
3. Revert the changes added for the generation process
git show 688bb22 -- ':!.github/workflows/pathogen-repo-ci*' | git apply -R
git show edd3290 -- ':!.github/workflows/' | git apply -R
The only change that couldn't be done programmatically was in step 3:
removal of 'make check' from ci.yaml, due to conflicts from newer
changes.
¹ https://github.blog/changelog/2025-09-18-actions-yaml-anchors-and-non-public-workflow-templates/
Member
Author
|
Doesn't work, see #156 (comment) |
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.
Description of proposed changes
GitHub now supports YAML anchors¹, meaning this codebase can be simplified.
Most changes were done programmatically:
Remove the generated files
Rename the template files
Revert the changes added for the generation process
The only change that couldn't be done programmatically was in step 3: removal of 'make check' from ci.yaml, due to conflicts from newer changes.
¹ https://github.blog/changelog/2025-09-18-actions-yaml-anchors-and-non-public-workflow-templates/
Related issue(s)
Closes #156
Checklist
Update changelog