grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
54 stars 26 forks source link

update github workflows #742

Open sympatheticmoose opened 4 months ago

sympatheticmoose commented 4 months ago

This is to address inconsistency in our CI and Release workflows so we just have to maintain build-action as well as some security improvements (getting flagged by tooling)

### Tasks
- [ ] Update [ci.yaml](https://github.com/grafana/plugin-tools/blob/main/packages/create-plugin/templates/github/ci/.github/workflows/release.yml) to use https://github.com/grafana/plugin-actions/blob/main/build-plugin/action.yml
- [x] Update [build-action](https://github.com/grafana/plugin-actions/blob/main/build-plugin/action.yml) versions i.e. setup-node -> v4
- [x] Add top level `permissions: read-all` and job level `permissions: contents: write` as appropriate
sympatheticmoose commented 4 months ago

Created some quick PRs which cover everything except consolidation.