Open Drjacky opened 1 year ago
Hello, Drjacky. Thank you for looking at my repository.
Is it possible to also show the chart for the other account?
Although I haven't actually tried it, there are two ways to display charts from a work account on a non-work account.
The first approach is to generate the chart on your work account and display it on your non-work account.
Another way is to set USERNAME
to your work username when generating charts in a non-work account.
However, the token specified in GITHUB_TOKEN
must have authority to refer to the relevant repository. For example, if you want to target private repositories for work, you should create a token that gives permission to browse private repositories with your work account and specify it in GITHUB_TOKEN
.
or is it possible to merge the works from two accounts and display them in one chart?
It is not possible to merge results from two accounts.
Note: If you also want to include the private repository, register the "personal access token" in the repository and set it to GITHUB_TOKEN specified in the workflow file.
What if there are multiple private repositories? should we define different personal access token per each? if yes, how to assign them to the GITHUB_TOKEN
?
Anyway, this doesn't work for me as the Actions are disabled on the organisational level 😞
I created a personal access token, gave access to read and write and some other permissions.
then I changed GITHUB_TOKEN
to that token ( ${{ 'tokennnn' }}
or 'tokennnn'
) and username to ${{ 'companyname/myusername' }}
or 'companyname/myusername'
or 'myusername'
but got 401.
Is your feature request related to a problem? Please describe. I mostly use my work GitHub account and all of my contributions and commits are there. Is it possible to also show the chart for the other account? or is it possible to merge the works from two accounts and display them in one chart?