hashicorp / nextjs-bundle-analysis

A github action that provides detailed bundle analysis on PRs for next.js apps
Mozilla Public License 2.0
617 stars 35 forks source link

Template is creating a new comment for every commit to PR #68

Open blakewilson opened 1 year ago

blakewilson commented 1 year ago

The template is creating a new comment for every commit to a given PR due to the change in the <!-- __NEXTJS_BUNDLE_ --> comment here:

https://github.com/hashicorp/nextjs-bundle-analysis/blame/main/compare.js#L197

The comment now includes the unique package name, which is not indicated in the template:

https://github.com/hashicorp/nextjs-bundle-analysis/blob/main/template.yml#L113

CarltonHenderson commented 1 year ago

Duplicate of https://github.com/hashicorp/nextjs-bundle-analysis/issues/57 Solution here https://github.com/hashicorp/nextjs-bundle-analysis/issues/52#issuecomment-1507644855