Commit Graph

8 Commits

Author SHA1 Message Date
Holly Gong d81e44f16c
fix PR helper when commits have no author. (#10959)
PR helper fails when author information is null. Adding a check before
get login name.

![image](https://github.com/google/oss-fuzz/assets/39108850/f4f3aaa8-3edb-4745-93e1-c6da047d0b7b)
https://github.com/google/oss-fuzz/issues/10955
2023-09-14 12:59:14 +10:00
Holly Gong 75e42585f6
PR helper removes maintainers from known contributors. (#10773)
Details:
https://github.com/google/oss-fuzz/pull/10758#issuecomment-1658574212
2023-08-02 18:10:24 +10:00
Holly Gong c4e1361220
Add past contributors for pr helper (#10664) 2023-07-10 10:30:47 -04:00
Clarence "Sparr" Risher 1647294b82
Add main_repo and language to new project doc, and links to field explanations. Fix workflow reference to repo_url. (#10553)
The PR Helper workflow complains if a new project doesn't include a
main_repo, so I've added that to the accepting new projects page.

I also added links from there to the specific fields in the new project
guide.

I also changed a reference in the workflow output to refer to the yaml
field name visible to submitters, rather than to the internal python
name for the same field which doesn't match.

---------

Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
Co-authored-by: Holly Gong <39108850+hogo6002@users.noreply.github.com>
2023-06-22 12:30:01 +10:00
Holly Gong 123e5980b5
Update pr_helper criticality score (#10566)
Update repo_url as criticality score does not support url ends with
'.git'.
Example: 
~/go/bin$ `./criticality_score --format json
-gcp-project-id=clusterfuzz-external
https://github.com/kubernetes/kubernetes.git`
2023-06-21 14:27:39.583	INFO	Preparing default scorer
2023-06-21 14:27:41.007	INFO	deps.dev signal source enabled
`2023-06-21 14:27:41.869 WARN Repo cannot be collected {"worker": 0,
"url": "https://github.com/kubernetes/kubernetes.git", "error": "repo
failed: not found: https://github.com/kubernetes/kubernetes.git"}`

---------

Co-authored-by: Dongge Liu <alan32.liu@gmail.com>
2023-06-22 10:27:23 +10:00
Holly Gong 61d00b74ee
Fix pr helper (#10542)
Fix https://github.com/google/oss-fuzz/issues/10515:
1. Avoid repeated message: handle project with sub directory.
2. Simplify the email verification message
3. Link pull request without reference
2023-06-19 10:08:16 +10:00
jonathanmetzman a74454f099
Fix issues with PR helper (#10519)
1. Don't repeat criticality score for each file, only for each project.
2. Don't link to past issues to avoid notifying people unnecessarily
3. Don't @-mention people so we don't send more notifications.
2023-06-14 09:10:05 -04:00
Holly Gong 8302aede5e
Add project integration PR helper (#10376)
Sample PRs (external users):
In the contact list:
https://github.com/google/oss-fuzz/pull/10422#issuecomment-1567849463
Previous contributed:
https://github.com/google/oss-fuzz/pull/10419#issuecomment-1567789169
Unknown contributor:
https://github.com/google/oss-fuzz/pull/10416#issuecomment-1567755392
Integrating new project:
https://github.com/google/oss-fuzz/pull/10439#issuecomment-1572939010

Skip commenting for internal members
2023-06-06 04:35:46 +00:00