diff --git a/utilities/labeler/README.md b/utilities/labeler/README.md index dd18091..4b17cf8 100644 --- a/utilities/labeler/README.md +++ b/utilities/labeler/README.md @@ -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. \ No newline at end of file +When the apply-label action is used, it should ONLY apply a label if the label exists. + + + +werwerwerwerewr \ No newline at end of file diff --git a/utilities/labeler/main.go b/utilities/labeler/main.go index 612622a..086a2df 100644 --- a/utilities/labeler/main.go +++ b/utilities/labeler/main.go @@ -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 {