Plugins: Improve levitate / breaking changes report in grafana/grafana (#89822)

* Plugins: Add gcloud auth and usage to levitate workflow

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
This commit is contained in:
Hugo Kiyodi Oshiro
2024-07-11 11:38:43 +02:00
committed by GitHub
parent 57e2a56876
commit 0a1b9f94d5
4 changed files with 180 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
const fs = require('fs');
const printAffectedPluginsSection = require('./levitate-show-affected-plugins');
const data = JSON.parse(fs.readFileSync('data.json', 'utf8'));
function stripAnsi(str) {
@@ -28,4 +30,6 @@ if (data.changes.length > 0) {
markdown += printSection('Changes', data.changes);
}
markdown += printAffectedPluginsSection(data);
console.log(markdown);