Skip to content
Merged
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
76 changes: 76 additions & 0 deletions .github/workflows/feature-ideation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Feature Ideation — google-app-scripts caller stub.
#
# Calls the org-wide reusable workflow at
# petry-projects/.github/.github/workflows/feature-ideation-reusable.yml
# All ideation logic, the multi-skill pipeline, the Opus 4.6 model
# selection, and the github_token override live in the reusable workflow.
#
# To tune the prompt or pipeline for ALL BMAD repos, edit the reusable
# workflow in petry-projects/.github — changes propagate here on next run.
#
# Standard: https://github.com/petry-projects/.github/blob/main/standards/ci-standards.md#8-feature-ideation-feature-ideationyml--bmad-method-repos
name: Feature Research & Ideation (BMAD Analyst)

on:
schedule:
- cron: '0 7 * * 5' # Friday 07:00 UTC (3 AM EDT / 2 AM EST)
workflow_dispatch:
inputs:
focus_area:
description: 'Optional focus area (e.g., "Gmail automation", "deployment UX", "AI summarization")'
required: false
type: string
research_depth:
description: 'Research depth'
required: false
default: 'standard'
type: choice
options:
- quick
- standard
- deep

permissions: {}

concurrency:
group: feature-ideation
cancel-in-progress: false

jobs:
ideate:
permissions:
contents: read
issues: read
pull-requests: read
discussions: write
id-token: write
uses: petry-projects/.github/.github/workflows/feature-ideation-reusable.yml@main
with:
project_context: |
google-app-scripts is an open-source (MIT) collection of personal
productivity scripts built on Google Apps Script, targeting non-
technical users who want to automate repetitive tasks across
Gmail, Google Drive, Google Docs, and Google Calendar without
writing code. Current scripts include "Gmail to Drive by Labels"
(archives labelled emails into a Doc + de-duplicated attachments)
and "Calendar to Sheets" (one-way sync of calendar events into a
spreadsheet). The repo ships a browser-based deployment page
(`deploy/index.html`) that uses OAuth + the Apps Script API to
deploy and configure scripts in one click — no clasp, no command
line, no manual ID-hunting.

Adjacent / competitor space: Zapier, Make, IFTTT, n8n (general
no-code automation); native Apps Script libraries on GitHub;
Google's own Apps Script gallery; AI-powered email assistants
(Superhuman, Shortwave); Google Workspace add-ons.

Trends to research: AI summarization and triage in productivity
tools, OAuth UX patterns for non-technical users, generative
document automation (Docs / Sheets / Slides), Gmail "labels-as-
workflow" patterns, Apps Script V8 runtime improvements, web-app-
only deployment patterns that avoid clasp, structured outputs
from LLMs into Sheets/Docs.
focus_area: ${{ inputs.focus_area || '' }}
research_depth: ${{ inputs.research_depth || 'standard' }}
Comment on lines +73 to +74

Copilot AI Apr 7, 2026

Copy link

Choose a reason for hiding this comment

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

inputs.* context is only available for workflow_dispatch/workflow_call. This workflow also runs on schedule, so the expressions for focus_area / research_depth can fail on scheduled runs. Use github.event.inputs.<name> (which safely evaluates to null when absent) or gate on github.event_name to provide defaults for non-dispatch triggers.

Suggested change
focus_area: ${{ inputs.focus_area || '' }}
research_depth: ${{ inputs.research_depth || 'standard' }}
focus_area: ${{ github.event.inputs.focus_area || '' }}
research_depth: ${{ github.event.inputs.research_depth || 'standard' }}

Copilot uses AI. Check for mistakes.
secrets:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Loading