mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-01 11:14:09 +09:00
tools/bump: stop commenting when applied areas change
Description already carries the outcome; the comment was noise.
This commit is contained in:
1 parent
a2e4451fcf
commit
bf63feb320
3 files changed
+3
-51
No files matched your search
@@ -191,19 +191,3 @@ func cell(s string) string {
|
||||
|
||||
return s
|
||||
}
|
||||
|
||||
// changedAreas reports whether the outcome differs from the last run, which is
|
||||
// what decides between silently updating the pull request and commenting on it.
|
||||
func changedAreas(prev marker, now marker) bool {
|
||||
if len(prev.Areas) != len(now.Areas) {
|
||||
return true
|
||||
}
|
||||
|
||||
for name, st := range now.Areas {
|
||||
if prev.Areas[name] != st {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user