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

Use Dependabot to Verify Templates once generated #90

Open
tomarra opened this issue Apr 24, 2024 · 0 comments
Open

Use Dependabot to Verify Templates once generated #90

tomarra opened this issue Apr 24, 2024 · 0 comments
Labels
chore Changes that don't modify source code or tests p1 High-priority issues at the top of the work list

Comments

@tomarra
Copy link
Contributor

tomarra commented Apr 24, 2024

Description

Given the template model the pubspec.yaml that we have in each template has the ability to have an "invalid" pubspec given variables and parameters that we have in the file for generation time. Example being https://github.com/VeryGoodOpenSource/very_good_templates/blob/main/very_good_flutter_package/__brick__/%7B%7Bproject_name.snakeCase()%7D%7D/pubspec.yaml

We still have a need to keep these templates and their dependencies up to date but don't want to have to do this manually. The idea being that we can have a GitHub Action that uses the Dependabot CLI in order to generate a template, run the CLI to see if there are updates, and then open issues to do the updates manually.

Requirements

  • There is a GitHub Action for each of the templates.
  • The Actions run on a daily basis
  • The action will build a template and run the Dependabot CLI.
  • If the Dependabot CLI does not detect any needed updates they exit gracefully.
  • If the Dependabot CLI does detect changes needed then an issue is opened up on the repo.
    • The issue that is opened up has a title of "chore: bump PACAKGE_NAME_HERE from CURRENT_VERSION to NEW_VERSION"
    • The description of the issue contains a link to the package that is being updated on pub.dev
@tomarra tomarra changed the title Use Dependabot to Verify Templates once generated - Are they up to date? Use Dependabot to Verify Templates once generated Apr 24, 2024
@tomarra tomarra added chore Changes that don't modify source code or tests p1 High-priority issues at the top of the work list labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes that don't modify source code or tests p1 High-priority issues at the top of the work list
Projects
Status: Todo
Development

No branches or pull requests

1 participant