Skip to content

Remove workflow YAML generation process#157

Closed
victorlin wants to merge 1 commit intomasterfrom
victorlin/yaml-anchors
Closed

Remove workflow YAML generation process#157
victorlin wants to merge 1 commit intomasterfrom
victorlin/yaml-anchors

Conversation

@victorlin
Copy link
Member

Description of proposed changes

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 688bb228 -- ':!.github/workflows/pathogen-repo-ci*' | git apply -R
    git show edd32905 -- ':!.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/

Related issue(s)

Closes #156

Checklist

  • Checks pass
  • Update changelog

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/
@victorlin
Copy link
Member Author

Doesn't work, see #156 (comment)

@victorlin victorlin closed this Jan 5, 2026
@victorlin victorlin deleted the victorlin/yaml-anchors branch January 5, 2026 21:00
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.

Remove workflow YAML generation process

1 participant