Skip to content
Open
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
6 changes: 5 additions & 1 deletion utilities/labeler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ When a commit changes anything that matches the filepath, the rules defined shou

When the remove-label action is present, it should remove the matching label if present

When the apply-label action is used, it should ONLY apply a label if the label exists.
When the apply-label action is used, it should ONLY apply a label if the label exists.



werwerwerwerewr
2 changes: 2 additions & 0 deletions utilities/labeler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,12 @@ func main() {
}

// Parse changed files if provided
log.Printf("Changed files: %s", *changedFiles)
var files []string
if *changedFiles != "" {
files = strings.Split(*changedFiles, ",")
}
log.Printf("Parsed changed files: %v", files)

issue, _, err := client.Issues.Get(ctx, owner, repo, toInt(issueNum))
if err != nil {
Expand Down
Loading