-
Notifications
You must be signed in to change notification settings - Fork 5
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
Excludes dependabot on schema check details,closes #1272 #1273
Conversation
native-provider-ci/src/steps.ts
Outdated
@@ -654,7 +654,7 @@ export function CommentSchemaChangesOnPR(provider: string): Step { | |||
return {}; | |||
} | |||
return { | |||
if: "github.event_name == 'pull_request'", | |||
if: "github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot'", |
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.
Why is there two variations?
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.
Dependabot's actor values are dependabot[bot] (for Dependabot GitHub-native) and dependabot (legacy). We can probably get away with one: pulumi/pulumi-kubernetes-ingress-nginx#82 native. Sorry I hit the button to fast on the first reply
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.
We should also do this in the provider-ci side too to match.
a793751
to
8351034
Compare
@danielrbradley I re-requested your review because I added in providers, and trimmed it down to just |
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.
Looks good
This should correct the following error: