Skip to content

P1-1: Fix Doc Decompose bash -e fragility #63

@Cho-Geer

Description

@Cho-Geer

P1-1: Fix Doc Decompose bash -e fragility

Source: docs/review/gh-workflow/ci-workflow-optimization.md Finding 2
Parent Epic: #62

Problem

Workflow doc-decompose.yml uses shell: bash (implicitly bash -e). When gh issue create or gh pr create returns non-zero (duplicate issue, API rate limit), bash -e aborts the entire script.

Fix

  1. Change line 75: shell: bashshell: bash {0}
  2. Remove set -e at line 77
  3. Existing || fallbacks (lines 209, 265, 270, 276-283) will then work correctly

Files

  • .github/workflows/doc-decompose.yml

Verification

Doc Decompose workflow should pass even when gh commands encounter non-fatal errors.

Metadata

Metadata

Assignees

Labels

area/ci-cdCI/CD 管道与部署bugSomething isn't workingp1Priority 1 - Highpriority/highP1 — 重要,当前迭代解决

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions