Skip to content
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

How to update pkl-gha created files with dependabot (yaml) updates? #4

Open
StefMa opened this issue Jul 20, 2024 · 1 comment
Open

Comments

@StefMa
Copy link
Owner

StefMa commented Jul 20, 2024

Think about how to update the pkl files with dependabot.
Dependabot can automatically update github yaml files.
But with that, our check that all pkl files are converted fails.
See #3

Maybe we should add another workflow that runs after dependabot created a PR, update the pkl files and commits it there... 🤔

How to do that? 😁

@StefMa StefMa changed the title How to update pkl files with dependabot? How to update pkl-gha created files with dependabot (yaml) updates? Jul 20, 2024
@StefMa
Copy link
Owner Author

StefMa commented Aug 23, 2024

This could be done with that action probably
https://github.com/dependabot/fetch-metadata

See also the docs here:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions

The action above has an output of updated dependencies. We can simply update the respective pkl file (too) and push this changes to the PR... 💭

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

No branches or pull requests

1 participant