what exactly is committer_gist? #912
-
Hi friends! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi 👋 ! Yes it's the adequate place to ask questions 😄 ! To configure the action with gists instead, you need to create one first. Once created, the url bar will contain the gist id (the last part of the url): Then configure your workflow with at least the following: - uses: lowlighter/metrics@latest
with:
output_action: gist
committer_gist: 8ca86f18b0385af402350c20bc2aa7f3 You need to grant your Once the workflow has been run at least once, checkout the gist and search for the "raw link" of the image you want to include: And remove the permalink part of the url (the section in red on the image below): Putting the gist id in secrets is not needed since it'll be visible in your images links anyway (in my case it's to "force" users to change it if they fork the template, since it wouldn't work if they used my gist id) But if you want to do the same you can read the GitHub doc to do so. The Hopefully it's clear enough 🙂 |
Beta Was this translation helpful? Give feedback.
Hi 👋 !
Yes it's the adequate place to ask questions 😄 !
To configure the action with gists instead, you need to create one first.
It's not possible to have an empty gist, so just put a placeholder if needed.
Once created, the url bar will contain the gist id (the last part of the url):
Then configure your workflow with at least the following:
You need to grant your
token
thegist
scope to use this feature though, the defaultgithub.token
cannot push to them.Once the workflow has been run at least once, checkout the gist and search for the "raw link" of the image you wan…