mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Add more lgos
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
c029226c12
commit
4ffade0444
2
index.js
2
index.js
@ -82,8 +82,8 @@ async function commitChanges(file, filePath) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const baseTreeSha = branchResponse.data.commit.sha;
|
const baseTreeSha = branchResponse.data.commit.sha;
|
||||||
console.log(typeof file, file)
|
|
||||||
// Create a new blob with the updated content
|
// Create a new blob with the updated content
|
||||||
|
console.log('Branch')
|
||||||
const blobResponse = await axios.post(
|
const blobResponse = await axios.post(
|
||||||
`https://api.github.com/repos/${owner}/${repo}/git/blobs`,
|
`https://api.github.com/repos/${owner}/${repo}/git/blobs`,
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user