Skip to content

Commit ad73aa6

Browse files
committed
ci: drop best-effort guard from notify-engine now that ENGINE_TOKEN works
The org PAT is authorized and the reverse sync is verified end-to-end, so remove continue-on-error: a future dispatch rejection (expired/revoked PAT) should fail loudly instead of silently stopping the reverse sync. Symmetric with TechEngine's notify-techapi.
1 parent 5d47c99 commit ad73aa6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/notify-engine.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ jobs:
3232
if: env.ENGINE_TOKEN == ''
3333
run: echo "::warning::ENGINE_TOKEN not configured — reverse autosync dormant; skipping dispatch."
3434

35-
# Best-effort: TechEngine is org-owned (GetTechAPI), so ENGINE_TOKEN must be
36-
# an org-approved PAT with Contents:write. If it isn't yet, the dispatch
37-
# 403s — warn instead of failing the whole run on every real push.
35+
# ENGINE_TOKEN must be an org-approved PAT with Contents:write on the
36+
# org-owned GetTechAPI/TechEngine. Fail loud if the dispatch is rejected
37+
# (e.g. PAT expired/revoked) so a broken reverse sync is visible.
3838
- name: Dispatch techapi-updated to TechEngine
3939
if: env.ENGINE_TOKEN != ''
40-
continue-on-error: true
4140
uses: peter-evans/repository-dispatch@v3
4241
with:
4342
token: ${{ secrets.ENGINE_TOKEN }}

0 commit comments

Comments
 (0)