[SKIP CI][Tooling] Add script to create translation changelog

This commit is contained in:
schroda
2024-05-11 15:50:05 +02:00
parent 1325fe6baf
commit 3bc6777043
7 changed files with 393 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
*/
import yargs from 'yargs';
import githubToken from './github_token.json';
import tokens from './tokens.json';
const { sha } = yargs
.options({
@@ -130,7 +130,7 @@ const fetchCommits = async (
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${githubToken.token}`,
Authorization: `Bearer ${tokens.githubToken}`,
},
body: JSON.stringify({ query, variables }),
})