diff --git a/internal/github/action.go b/internal/github/action.go index 2f94979..cc37523 100644 --- a/internal/github/action.go +++ b/internal/github/action.go @@ -127,7 +127,7 @@ func (a *Action) pullRequestNumber() int { func (a *Action) outputResult(result string) { labelCheckOutput := fmt.Sprintf("label_check=%s", result) gitHubOutputFileName := filepath.Clean(os.Getenv("GITHUB_OUTPUT")) - githubOutputFile, err := os.OpenFile(gitHubOutputFileName, os.O_APPEND|os.O_WRONLY, 0o644) + githubOutputFile, err := os.OpenFile(gitHubOutputFileName, os.O_APPEND|os.O_WRONLY, 0o644) //nolint:gosec panic.IfError(err) _, err = githubOutputFile.WriteString(labelCheckOutput) if err != nil {