Skip to content

feat: GitHub Action for External Repos to Post Bounties (#855)#1075

Open
zengbinli wants to merge 3 commits intoSolFoundry:mainfrom
zengbinli:feat/github-action-bounty-855
Open

feat: GitHub Action for External Repos to Post Bounties (#855)#1075
zengbinli wants to merge 3 commits intoSolFoundry:mainfrom
zengbinli:feat/github-action-bounty-855

Conversation

@zengbinli
Copy link
Copy Markdown

🏭 Bounty #855: GitHub Action for External Repos to Post Bounties

Tier: T2 | Reward: 500K $FNDRY

Summary

A complete GitHub Action that allows external repositories to automatically convert labeled GitHub issues into SolFoundry bounties.

Acceptance Criteria

Criteria Status
Simple YAML configuration for workflow setup
Label detection and bounty auto-posting
Customizable reward tiers and thresholds

Features

  • Label-triggered bounty creation — Add bounty label to any issue
  • Tier detection — Auto-detects via tier-1, tier-2, tier-3 labels
  • Custom reward amounts — Via label (reward-500k) or issue body (reward: 250000 FNDRY)
  • Skill extraction — Auto-detects from labels (frontend, backend, docs, etc.)
  • Dry-run mode — Test without creating actual bounties
  • Auto-comment — Posts bounty link back to the issue
  • Configurable — All parameters customizable via YAML inputs

Quick Start

on:
  issues:
    types: [labeled]

jobs:
  create-bounty:
    if: contains(github.event.label.name, 'bounty')
    runs-on: ubuntu-latest
    steps:
      - uses: SolFoundry/solfoundry-bounty-action@v1
        with:
          api-key: ${{ secrets.SOLFOUNDRY_API_KEY }}

Files

File Description
action.yml Action metadata, inputs, and outputs
src/main.ts Core logic (TypeScript)
src/types.ts Type definitions
src/__tests__/main.test.ts 29 unit tests
README.md Full documentation with examples

Test Results

All 29 tests passing:

  • Tier Detection: 6/6 ✅
  • Reward Detection: 9/9 ✅
  • Skill Extraction: 3/3 ✅
  • Bounty Label Detection: 5/5 ✅
  • Description Builder: 6/6 ✅

FNDRY Wallet

C2iwe5nynPsZfvkG5bEcCu75XRU7mdcbUGhiq5tBFrzt

zengbinli and others added 3 commits April 22, 2026 05:59
T2 Bounty: Create a GitHub Action that external repositories can
install to automatically convert labeled GitHub issues into SolFoundry
bounties with customizable reward amounts.

Acceptance Criteria:
- ✅ Simple YAML configuration for workflow setup
- ✅ Label detection and bounty auto-posting
- ✅ Customizable reward tiers and thresholds

Features:
- Label-triggered bounty creation (bounty, bounty-*, tier-1/2/3)
- Custom reward amounts via label or issue body
- Skill extraction from labels
- Dry-run mode
- Auto-comment with bounty link
- 29 unit tests passing

FNDRY Wallet: C2iwe5nynPsZfvkG5bEcCu75XRU7mdcbUGhiq5tBFrzt
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