Skip to content

Commit 1d7384d

Browse files
author
easonLiangWorldedtech
committed
fix(gate): restore the upload step header dropped while editing the gate step
The edit removed the blank line and the '- name: Upload mutation reports' header, leaving 'id: mutation_report' and a second 'if:' inside the gate step mapping, which is a duplicated YAML mapping key and made the knip job fail while loading the workflow.
1 parent a42df42 commit 1d7384d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/mutation-testing.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
# against the event base.
6565
STACKED_MAP="$(gh api "repos/${GITHUB_REPOSITORY}/pulls?state=open&per_page=100" --jq '[.[] | {number: .number, headSha: .head.sha}]')" || STACKED_MAP="$(printf '[]')"
6666
node scripts/stryker-diff.mjs ci --base "$BASE_SHA" --head "$HEAD_SHA" --pr-head "$PR_HEAD_SHA" --stacked-map "$STACKED_MAP"
67+
68+
- name: Upload mutation reports
6769
id: mutation_report
6870
if: always() && github.event_name == 'pull_request'
6971
continue-on-error: true

0 commit comments

Comments
 (0)