Skip to content

Instantly share code, notes, and snippets.

@TrueBrain
Created February 2, 2020 22:44
Show Gist options
  • Save TrueBrain/692da5f5d8b3e1f5af526c15dbadba40 to your computer and use it in GitHub Desktop.
Save TrueBrain/692da5f5d8b3e1f5af526c15dbadba40 to your computer and use it in GitHub Desktop.
Team workflow
Workflows
- Listen to "issue created"
- Validate content of issue
- Pick up on which team it is someone requested access to
- Post a reply:
- Thank the user, tell him to wait
- List the current teams the user is already on
- Ask for approval by any core developers
- Mention the team he is asking permission to again (to avoid user editing his post sneaky)
- Listen to "issue comment", and check for "/approve"
- Validate approval is from someone in "Core developers"
- Add user to the requested team
- Post a reply, indicating the action was done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment