Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .mintlify/workflows/draft-feature-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ name: "Draft docs for new features"
on:
push:
- repo: "mintlify/server"
context:
- repo: "mintlify/docs"
slack_channels:
- id: "C0A25V4DHP1"
name: "test-mintie-bot"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAML structure broken by misplaced block insertion

High Severity

The new context: and slack_channels: blocks were inserted in the middle of the on.push list, breaking the YAML frontmatter structure. This causes branch: main for mintlify/server and the entire mintlify/mint repo entry to be displaced under slack_channels instead of remaining under on.push. As a result, mintlify/server loses its branch filter (triggering on all branches), mintlify/mint is no longer a push trigger at all, and slack_channels contains nonsensical branch and repo properties.

Additional Locations (1)
Fix in Cursor Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Slack channel added to production workflow

Medium Severity

The new slack_channels block references a channel named "test-mintie-bot" (ID C0A25V4DHP1), which appears to be a test channel. This is the only workflow in the repository using slack_channels or this channel ID. This looks like test/debug configuration that was accidentally included in the production workflow and would send notifications to a test channel instead of (or in addition to) the intended production channel.

Fix in Cursor Fix in Web

branch: main
- repo: "mintlify/mint"
branch: main
context:
- repo: "mintlify/docs"
notify:
slack:
channel_ids:
- C0AKYE83VV4
automerge: false
---

Review the diff from the last merged PR in the triggering repository. Identify any new features, APIs, or other changes that require documentation.
Expand Down
Loading