diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 56e972c..3202396 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -53,6 +53,7 @@ jobs: run: | octommit update \ --set \[job:id\]=${{ github.run_id }} \ + --set \[job:boolean\]=true \ --repo octommit \ --org Stockopedia \ --sourcePath test-file.yaml \ diff --git a/src/commands/update/update-command.ts b/src/commands/update/update-command.ts index 5b4e31e..177cdd2 100644 --- a/src/commands/update/update-command.ts +++ b/src/commands/update/update-command.ts @@ -47,8 +47,12 @@ export class UpdateCommand { } }); + const f = builder.build(); + + console.log(f); + const result = await this.gitClient.putFile( - builder.build(), + f, repo, org, sourceBranch,