cake-contrib / cake-contrib/Cake.Issues

Add support for pull request approval

Open
#242 0 comments 0 reactions 0 assignees View on GitHub
Area:Core:PullRequests Feature
Dominant language
C#
Stars
7
Forks
11
Avg merge
21m
Merged PRs (30d)
1

Description

Original issue: https://github.com/cake-contrib/Cake.Prca/issues/54

Add functionality that the pull request implementation can approve the pull request.

- Should be option for pull request implementation to implement (maybe introduce some call where the main addin asks for capabilities)
- Add flag to `ReportCodeAnalysisIssuesToPullRequestSettings`
- Cake.Issues.PullRequests addin would determine status (maybe we need to add some settings to define the criteria, eg on priority, etc)
- Enhance `IPullRequestSystem` with method to approve or decline a PR
- Virtual implementation in `PullRequestSystem` which doesn't do anything

Contributor guide

Open the contributing guide

Research direction

Start by tracing ReportCodeAnalysisIssuesToPullRequestSettings, the Cake.Issues.PullRequests addin, IPullRequestSystem, and its PullRequestSystem implementation. Clarify how capabilities and approval criteria should be configured, then verify that supported implementations can approve or decline a pull request while the virtual implementation remains a no-op.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.