Skip to content

docs: Document GitHub Action issue notifications and AI integrations#2

Merged
hawkeyexl merged 2 commits intomainfrom
promptless/github-action-integrations-and-prompt-inputs
Feb 27, 2026
Merged

docs: Document GitHub Action issue notifications and AI integrations#2
hawkeyexl merged 2 commits intomainfrom
promptless/github-action-integrations-and-prompt-inputs

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Feb 26, 2026

Open this suggestion in Promptless to view citations and reasoning process

Adds documentation for the GitHub Action's issue notification feature and new AI integrations. Documents the integrations input (supports doc-sentinel, promptless, dosu, claude, opencode, copilot) and prompt input, along with related issue configuration options like create_issue_on_fail, issue_title, issue_body, issue_labels, and issue_assignees. Includes a YAML example showing how to use these features.

Trigger Events

doc-detective/github-action PR #54: Add integrations and prompt inputs for issue notifications

Promptless Research (1 GitHub PR)

Agent Response

I've completed the documentation update for this PR. Here's a summary of what was done:

Summary

I reviewed PR #54 in the doc-detective/github-action repository which adds two new inputs for AI-powered issue notifications:

  • integrations: A comma-separated list of AI integrations (doc-sentinel, promptless, dosu, claude, opencode, copilot) to notify when test failures create GitHub issues
  • prompt: Text passed to integrations and available as $PROMPT in the issue body template

Documentation Changes

I updated fern/pages/contribute/repos/github-action.md to add a comprehensive "Issue notifications" section that documents:

  1. Basic issue configuration - The existing inputs like create_issue_on_fail, issue_title, issue_body, issue_labels, and issue_assignees

  2. AI integrations - The new integrations input with all supported values and their behaviors (including the special handling for copilot which auto-assigns instead of adding to the accordion)

  3. Prompt configuration - The new prompt input and how $PROMPT can be used in both integration mentions and custom issue body templates

  4. Example - A YAML workflow snippet showing how to use these features together

The documentation suggestion is ready for your review!


Tip: Leave inline comments with @Promptless on suggestion diffs in the Promptless dashboard for targeted refinements 💬


This repo depends on [`doc-detective`](doc-detective) for performing the tests.

## Issue notifications
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Citation: Based on changes in action.yml which defines the new integrations and prompt inputs, and index.js which implements parseIntegrations(), buildIntegrationsAccordion(), and the INTEGRATION_MAP constant with the supported integration values.
View source

@promptless
Copy link
Contributor Author

promptless bot commented Feb 26, 2026

I've added new changes to address this GitHub PR in commit b8abf9c


Integrations (except `copilot`) appear in a collapsible "Integrations" section in the issue body. Invalid integration names are warned and ignored.

- `prompt`: Text passed to integrations, inserted where `$PROMPT` appears in integration mentions. You can also use `$PROMPT` in your custom `issue_body` template. Default: `"Investigate the causes of the failures reported in this Doc Detective test output and suggest fixes"`.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Citation: Fixed the default prompt value to match the actual implementation in action.yml lines 107-112. The default is "Investigate potential causes of the failures reported in this Doc Detective test output and suggest fixes." (with "potential" and trailing period).
View source

@promptless promptless bot marked this pull request as ready for review February 26, 2026 22:17
@hawkeyexl hawkeyexl merged commit f72d1ef into main Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant