Automate adding collaborators based on PR modified changes
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6
- Forks
- 2
- Avg merge
- 9h 7m
- Merged PRs (30d)
- 2
Description
Currently GHSA doesn't automatically add CODEOWNERS to GHSAs when that code is modified. This bot can do this for us automatically by:
- When a GHSA PR is modified
- Run the changed filenames against the CPython
CODEOWNERSfor themainbranch - If there are matches, add those users to the
collaborating_users/collaborating_teamsfield in the GHSA
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the bot handles modified GHSA pull requests and how it updates the GHSA collaborating_users and collaborating_teams fields. Determine how changed filenames and the CPython main-branch CODEOWNERS are accessed, then verify that matching users and teams are added when a PR changes owned files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, python
- Domain
- devtools, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100