Tag: Git
-
How to commit Personal Access token from github
1 I made a test app which uses github’s graphQL api. For using this api the personal access token has been placed inside the code. Now whenever I commit the code with token, I get email from github which has title: "Action needed: GitHub access token found in commit, any app using this secret may…
-
Get git blame for full Github repository via api
2 I’d like to get the output of git blame <file> for all files in a repository recursively. I want to do this without cloning the repository first, by using Github’s GraphQL v4 api. Is this possible? I’ve managed to get a list of files via this query: query { repository(owner: "some owner", name: "some…
-
Using GraphQL to list all tags of a FFmpeg and search for releases
0 I’m trying to use GraphQL to get all tags of FFmpeg and later get the downloadUrl of each tag release. In the GraphQL Explorer, I used the following query: query { repository(owner: "FFmpeg", name: "FFmpeg") { refs(refPrefix: "refs/tags/", last: 100) { nodes { repository { releases(last: 100, orderBy: { field: CREATED_AT, direction: DESC}) {…