Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions internal/service/check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ func walkerToCheckRunOutput(johnnie *MetadataWalker) CheckResult {
actionLabel := "Fix formatting"
description := "Adds a new commit with fixed formatting."
if len(johnnie.hasMissingRequiredConditionExemptions) > 0 {
actionLabel = "Fix missing exemptions"
description = "Adds a new commit with missing exemptions."
actionLabel = "Fix exemptions"
description = "Adds a new commit with exemptions."
}
result.actions = []*github.CheckRunAction{
{
Expand Down
1 change: 1 addition & 0 deletions internal/service/check/yamlwalker_exemptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func (v *MetadataWalker) fixExemptionsInFile(fileContents []byte, path string) e
if err != nil {
return err
}
v.hasMissingRequiredConditionExemptions = nil
return v.formatSingleYamlFile(fixed, path)
}
}
Expand Down