GitHub Action for External Repos to Post Bounties#1272
Open
sepulchralvoid666 wants to merge 1 commit into
Open
GitHub Action for External Repos to Post Bounties#1272sepulchralvoid666 wants to merge 1 commit into
sepulchralvoid666 wants to merge 1 commit into
Conversation
…lFoundry#855) Composite action that converts labeled GitHub issues into SolFoundry bounties. Supports per-issue overrides via HTML comment metadata, configurable reward tiers, deadline, and skill tags. Posts a comment with bounty link on the issue after creation. Includes dry-run mode for testing. Built with @actions/core, @actions/github, compiled via ncc.
|
This action can create duplicate bounties after the first bounty label is added. The workflow triggers on every if (!labels.includes(bountyLabel)) {
core.info(`Issue #${issue.number} does not have label "${bountyLabel}" — skipping.`);
return;
}So if an issue already has Since #855 is specifically for converting issues when the configured bounty label is added, this should check the event label itself, e.g. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bounty #855 — GitHub Action for External Repos to Post Bounties
What
A reusable GitHub Action that external repositories can install to automatically convert labeled GitHub issues into SolFoundry bounties.
Features
issues.labeledevent when the configured label (default:bounty) is addedwith:inputs — no extra config filesdist/index.jsfor reliable executionFiles
actions/bounty-poster/action.yml— Action metadata and inputsactions/bounty-poster/src/index.ts— Main action logicactions/bounty-poster/src/types.ts— Internal typesactions/bounty-poster/dist/— Compiled bundleactions/bounty-poster/examples/workflow.yml— Example workflowactions/bounty-poster/README.md— Usage docsAcceptance Criteria
Closes #855
Solana wallet for payout:
9PmjWFwM2mdnjBNjJyfNMTWGCnGAKFpywsLF9xcRF8PK