-
Notifications
You must be signed in to change notification settings - Fork 142
New policies #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New policies #19
Conversation
Checks that file exists and is not empty. Issue action supported, Fix action to be added in the future
Policy to disallow outside collaborators with admin or push access.
This is the first policy that uses a scorecard check. Needed to move to v32 of go-github to match scorecard. Future go-github should allow easy conversion.
| if err != nil { | ||
| t.Fatalf("Unexpected error: %v", err) | ||
| } | ||
| if !reflect.DeepEqual(res, &test.Exp) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using github.com/google/go-cmp/cmp here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL, will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated ptal.
|
@azeemshaikh38 @laurentsimon Can I get this re-approved ( I have dismiss stale turned on ) |
done. |
Add 3 new policies to allstar.
Note: moving to an older version of go-github to match scorecard until google/go-github#2016 is released.