-
Notifications
You must be signed in to change notification settings - Fork 37
Chore: Add custom manager for workflow templates #2278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hello! 👋 This repository uses Auto for releasing packages using PR labels. ✨ This PR can be merged. It will not be considered when calculating future versions of the npm packages and will not appear in the changelogs. |
Co-authored-by: Jack Westbrook <[email protected]>
1cb678a to
37f78e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses YAML parsing errors in Renovate by replacing the extended github-actions manager configuration with a custom regex manager for workflow templates that contain Handlebars syntax. The change enables Renovate to extract GitHub Actions dependencies from template files without attempting to parse them as valid YAML.
- Removed the
github-actionsmanager extension that was causing YAML parsing errors on Handlebars templates - Added a custom regex manager to extract GitHub Actions dependencies from workflow template files using pattern matching
- Created separate package rules for template workflows and repository workflows with distinct labels and reviewers
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
|
Closing in favour of #2297 |
What this PR does / why we need it:
GitHub Actions workflow templates in
packages/create-plugin/templates/github/workflows/use Handlebars syntax, which causes the standardgithub-actionsmanager to fail with yaml parsing errors. We attempted to usemanagerFilePatternsto limit thegithub-actionsmanager scope, but this doesn't solve the underlying issue (the manager still tries to parse the templates as valid yaml).This PR adds a custom regex manager to extract gh action dependencies from the template files, and adds a separate package rule so workflow templates and repository workflows can have different labels.
I haven't been able to verify that this works, so for now I've disabled auto merging for both of these rules.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: