Repository navigation
Description
Summary
The contribution guidelines direct community members to submit feature requests and bug reports through GitHub, so the team needs a reliable way to see those come in. Paid contributions arrive differently, as comments on issues we opened ourselves, so they need their own trigger.
Two things to build, both in HHS/simpler-grants-protocol.
1. Notify on anything opened from outside. Add a GitHub Actions workflow under .github/workflows/ that runs when an issue or a pull request is opened and posts to #common-grants-contributions. GitHub supplies author_association on those events. Treat OWNER, MEMBER and COLLABORATOR as internal, and everything else as external. Post only for external authors.
No label and no board view. This is awareness that something arrived, not a queue anyone is committing to work.
2. Notify on activity on a funded issue. Post to the same channel when an external contributor comments on any issue carrying the funded label.
This is the paid contributor program. A contributor claims a funded issue by commenting /claim, and proposes for an implementation issue by commenting a proposal, so everything that needs a response arrives as a comment rather than as a new issue. Post on any external comment on a funded issue rather than trying to detect what the comment says. A few extra notifications are cheaper than a missed claim.
The message must say which kind of funded issue it is, because the two need different people. A comment on a contribution issue is usually a claim, which the program administrator handles. A comment on an implementation issue is usually a proposal or a request to verify finished work, which needs both reviewers. Read this from the issue's labels: a funded issue carrying the implementation label is an implementation issue, and one carrying only funded is a contribution issue.
Every message should carry the issue or pull request title, its number and link, the author's handle, and which of the two cases triggered it.
The webhook URL goes in repository secrets. The funded and implementation labels are created in #1207, so this workflow can be built before that lands but cannot be tested until they exist.
Acceptance criteria
- Slack webhook posts to a dedicated channel (such as #common-grants-contributions) when an external contributor opens an issue or PR
- Slack posts to the same channel when an external contributor comments on an issue labeled
funded, and the message says whether it is a contribution issue or an implementation issue
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-][CG Stewardship] Set up GitHub notification workflows for external contributions[/-][+][Stewardship Comms] Set up GitHub notification workflows for external contributions[/+][-][Stewardship Comms] Set up GitHub notification workflows for external contributions[/-][+][Stewardship comms] Set up GitHub notification workflows for external contributions[/+][-][Stewardship comms] Set up GitHub notification workflows for external contributions[/-][+][Community] Set up GitHub notification workflows for external contributions[/+][-][Community] Set up GitHub notification workflows for external contributions[/-][+][Bounty] Set up GitHub notification workflows for external contributions[/+][-][Bounty] Set up GitHub notification workflows for external contributions[/-][+][Program] Set up GitHub notification workflows for external contributions[/+]