Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions ci/danger/Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,28 +71,13 @@ def has_sdk_changes()
}
end

tester_team = [
'rlazo',
'vkryachko',
'yifanyang',
'VinayGuthal',
'davidmotson',
'daymxn',
'emilypgoogle'
]

is_enabled = true if tester_team.include? github.pr_author

### Actions

# Warn if a changelog is left out on a non-trivial PR that has modified
# SDK source files.
#
# TODO: remove the `is_enabled` after tests are complete
if is_enabled && has_sdk_changes()
if !has_changelog_changes && !declared_trivial
warning = "Did you forget to add a changelog entry? (Add the 'no-changelog'"\
" label to the PR to silence this warning.)"
warn(warning)
end
if has_sdk_changes() && !has_changelog_changes && !declared_trivial
warning = "Did you forget to add a changelog entry? (Add the 'no-changelog'"\
" label to the PR to silence this warning.)"
warn(warning)
end