Replies: 4 comments 7 replies
-
I'm not sure this would be beneficial. |
Beta Was this translation helpful? Give feedback.
-
How about publishing metrics svg files as release artifacts? This approach does not mess up the git history, nor brining any binary file into the repo. |
Beta Was this translation helpful? Give feedback.
-
My method is to shove the SVG onto a separate branch of the profile readme to avoid cluttering anything. Then you keep the history without it affecting the main branch. |
Beta Was this translation helpful? Give feedback.
-
Another approach to this "problem" is to reduce the number of commits by not updating the "Last updated" timestamp unless there is an update to the data. i.e. I see little value in doing a commit which only changes the "Last updated" timestamp in the result, e.g. jayvdb/jayvdb@e3217bb I would actually prefer that the "Last updated" timestamp reflect when the data/stats changed, rather than when the latest render was performed. The tool could detect this and exit before writing the new output. Alternatively there might be a CI recipe which inserts a step before the metrics step, which first checks if there was a change to the data - this seems less likely to be useful for everyone, esp when there are plugins which pull data from other systems, or include stats which change despite the user being inactive. I suspect it isnt too hard to build a very simple step to check if the user has done anything since the last run, and use that to bale out early. |
Beta Was this translation helpful? Give feedback.
-
The workflow makes a new commit every
x
amount of time. It would be better if the workflow amended the previous commit or made a new commit and squashed it with the previous one. This way the commits won't pile up, cluttering up the commit history the repo.Beta Was this translation helpful? Give feedback.
All reactions