plugin-tools icon indicating copy to clipboard operation
plugin-tools copied to clipboard

Feat: GitHub action to run `yarn create @grafana/plugin update`

Open sd2k opened this issue 1 year ago • 1 comments

Which areas does this feature request relate to

  • [X] Create Plugin
  • [ ] Sign Plugin
  • [ ] Plugin E2E
  • [ ] Documentation

Problem

I rarely remember that I need to periodically run yarn create @grafana/plugin update, unless someone prompts me or I happen to see something in Slack.

Solution

A GitHub action, similar to dependabot/renovate, which runs yarn create @grafana/plugin update in my repository (optionally in a subdirectory) and creates a PR with the changes. I could run this on a schedule to make sure my plugin is regularly updated.

Alternatives

No response

Additional context

No response

Are you interested in contributing the solution?

  • [ ] Yes
  • [ ] No

sd2k avatar Mar 14 '24 09:03 sd2k

Idea to work on this:

Modify this to make it package manager-agnostic and put it in https://github.com/grafana/plugin-actions

https://github.com/jackw/heywesty-trafficlight-panel/blob/main/.github/workflows/create-plugin-update.yml

Then modify the create-plugin template to call this action in a cron

academo avatar Sep 26 '24 11:09 academo

:rocket: Issue was released in @grafana/[email protected], @grafana/[email protected] :rocket:

Documentation can be found here for anyone that would like to add the create plugin update workflow to an existing plugin.

jackw avatar Oct 20 '24 11:10 jackw