Skip to content
Closed
Show file tree
Hide file tree
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
26 changes: 18 additions & 8 deletions .github/workflows/feature-ideation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ on:
workflow_dispatch:
inputs:
focus_area:
description: 'Optional focus area (e.g., "accessibility", "performance")'
description: 'Optional focus area for the ideation research'
required: false
type: string
research_depth:
description: 'Research depth'
required: false
default: 'standard'
type: choice
options:
- quick
- standard
- quick
- deep
default: 'standard'

permissions: {}

Expand All @@ -69,23 +69,33 @@ jobs:
# - pull-requests: read (signal collection)
# - discussions: write (CRITICAL — create/update Discussion threads)
# - id-token: write (claude-code-action OIDC for GitHub App token)
# - actions: read (workflow introspection in reusable)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Grant actions:read to the caller job

This comment was added to reflect that the reusable workflow now needs the Actions API scope, but the permission is not actually granted below. The called feature-ideation-reusable.yml@v1 gather job declares actions: read, and GitHub's reusable-workflow permission model only lets called workflows downgrade the caller's GITHUB_TOKEN permissions, not elevate them; with this caller omitting actions: read, scheduled/manual runs that perform workflow/run introspection for the feed checkpoint will run without the required scope and can fail before analysis. Add actions: read to this job's permissions: block.

Useful? React with 👍 / 👎.

permissions:
contents: read
issues: read
pull-requests: read
discussions: write
id-token: write
actions: read
uses: petry-projects/.github/.github/workflows/feature-ideation-reusable.yml@v2
with:
focus_area: ${{ inputs.focus_area }}
research_depth: ${{ inputs.research_depth || 'standard' }}
# === CUSTOMISE THIS PER REPO — the only required edit ===
# Replace this paragraph with a 3-5 sentence description of your project,
# its target users, and the competitive landscape. The more specific you
# are, the more useful the proposals.
project_context: |
TODO: Replace this with a description of the project and its market.
Example: "ProjectX is a [type of product] for [target user]. Competitors
include A, B, C. Key emerging trends in this space: X, Y, Z."
focus_area: ${{ inputs.focus_area || '' }}
research_depth: ${{ inputs.research_depth || 'standard' }}
Markets is a real-time operations platform for farmer and art markets,
serving three actors: customers who need accurate vendor and product
availability before arriving, vendors who need low-friction tools to
publish same-day status updates, and market managers who need a
consolidated, validated source of truth to publish efficiently.
Competitors are fragmented generic channels—Instagram, Facebook Groups,
WhatsApp, and Google Business Profiles—none of which provide structured,
real-time, market-day operational data across all three actors.
Key emerging trends: hyperlocal discovery apps, QR-code-driven vendor
pages, AI-assisted inventory broadcasting, and push-notification market
alerts.
secrets:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ build/
.DS_Store
Thumbs.db
.dev-lead/
.dev-lead/
Loading