Closed alyssadai closed 3 weeks ago
This will be fixed by https://github.com/neurobagel/workflows/pull/103 which removes the use of {{ }}
intended for variable interpolation (which is used only by the sync.yml and cannot be parsed by other GH Actions wfs).
Related to:
The template workflow https://github.com/neurobagel/workflows/blob/main/template_workflows/auto_release/build_docker_on_release.yml uses jinja-style variables in its body as placeholders for different repo names, as documented here: https://github.com/BetaHuhn/repo-file-sync-action?tab=readme-ov-file#using-templates.
The issue is that dependabot seems to have problems parsing this template .yml file (possibly because the variable syntax means the file is no longer technically valid YAML).
Here's the result of manually triggering dependabot to check for updates:![image](https://github.com/user-attachments/assets/114df3b9-e82a-45c3-b5ce-162224c5a543)
As a result, the versions of GH actions used in
build_docker_on_release.yml
cannot be properly updated, meaning that whenever a change to these templates is synced to other repos, the updated versions of actions used in those repos is rolled back in the PR.As an alternative, we may want to look into inheritable templates instead in https://github.com/BetaHuhn/repo-file-sync-action?tab=readme-ov-file#using-templates.