Gist option: Push svg image to a gist #207
Replies: 2 comments
-
Committer is the Github Actions bot so its contributions are normally not counted in your own. I think storing metrics in gists would be a nice feature to integrate though, especially for projects using the repository template 👍🏼 Handling gists creation in metrics seems too complicated because we would need to:
So I think the best is to go on a simpler API where metrics only manage gists updates:
How does it sounds 🙂 ? |
Beta Was this translation helpful? Give feedback.
-
This has been implemented in #212 To use this feature, add the following to your workflow: - uses: lowlighter/metrics@master # will be available on @latest when v3.7 releases
with:
# other options...
committer_gist: 12e52345cde46b891264e376f0719166 # your gist id as shown in gist url
output_action: gist Because Let me know if you have trouble to set it up 👍🏼 Thanks for using metrics 🙂 ! |
Beta Was this translation helpful? Give feedback.
-
I would like the option to generate the
github-metrics.svg
file added, but save it to a github gist and not the repository.Personally, I don't like Github Actions making changes and commits to the repository because it fills up with contributions that I haven't made myself.
This would be an example of the file that would have to be generated with Github Actions but saved in a gist. (I uploaded the svg file manually, there is still no code created)
I would love to know what you think or if this is possible.
Beta Was this translation helpful? Give feedback.
All reactions