Skip to content

Commit 5d47c99

Browse files
committed
ci: make notify-engine dispatch best-effort
TechEngine is org-owned (GetTechAPI), so the cross-repo dispatch needs an org-approved PAT. Until ENGINE_TOKEN is approved, the dispatch 403s; mark the step continue-on-error so a real push to main doesn't show a failed run. The reverse sync activates automatically once the token is authorized.
1 parent 3bd4ef4 commit 5d47c99

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/notify-engine.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ 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.
3538
- name: Dispatch techapi-updated to TechEngine
3639
if: env.ENGINE_TOKEN != ''
40+
continue-on-error: true
3741
uses: peter-evans/repository-dispatch@v3
3842
with:
3943
token: ${{ secrets.ENGINE_TOKEN }}

0 commit comments

Comments
 (0)