diff --git a/.github/workflows/history.yml b/.github/workflows/history.yml index e3fb5e59f..25911e0f1 100644 --- a/.github/workflows/history.yml +++ b/.github/workflows/history.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v2 with: token: ${{ secrets.COMMIT_TOKEN }} - ref: ${{ github.ref }} + #ref: ${{ github.ref }} - uses: actions/setup-node@v1 with: node-version: 12 diff --git a/script/entrypoint/history.ts b/script/entrypoint/history.ts index 01b250f44..b28250b95 100644 --- a/script/entrypoint/history.ts +++ b/script/entrypoint/history.ts @@ -2,7 +2,10 @@ import { processChanges } from "../generic/history"; export async function main(): Promise { try { - await processChanges(); + const ret = await processChanges(); + if (ret != 0) { + process.exit(ret); + } } catch(err) { console.error(err); process.exit(1);