Skip to content

Commit

Permalink
Merge pull request #1 from wandera/dissmis-requested
Browse files Browse the repository at this point in the history
WND-41892 dismiss requested changes
  • Loading branch information
mrackoa authored Mar 18, 2022
2 parents e95ade2 + 3baade7 commit 359cddf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ dockers:
- goos: linux
goarch: amd64
image_templates:
- "herlon214/sonarqube-pr-issues:latest"
- "herlon214/sonarqube-pr-issues:{{ .Tag }}"
- "herlon214/sonarqube-pr-issues:v{{ .Major }}"
- "jamf/sonarqube-pr-issues:latest"
- "jamf/sonarqube-pr-issues:{{ .Tag }}"
- "jamf/sonarqube-pr-issues:v{{ .Major }}"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# :robot: Sonarqube PR Issues Review
[![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] [![Go Report Card][report-card-img]][report-card]

Simple Webhook for Sonarqube which publishes the issues found in the PR as review requesting changes.
Simple Webhook for Sonarqube which publishes the issues found in the PR.


![Review screenshot](assets/review_screenshot.png)
Expand Down
2 changes: 1 addition & 1 deletion pkg/scm/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewGithub(ctx context.Context, sonar *sonarqube.Sonarqube, token string) *G

// PublishIssuesReviewFor publishes a review with a comment for each issue
func (g *Github) PublishIssuesReviewFor(ctx context.Context, issues []sonarqube.Issue, pr *sonarqube.PullRequest) error {
event := "REQUEST_CHANGES"
event := "COMMENT"
comments := make([]*github.DraftReviewComment, 0)

// Create a comment for each issue
Expand Down

0 comments on commit 359cddf

Please sign in to comment.