remove random dockerfile run command
All checks were successful
Gosec Check / Gosec Check (push) Successful in 51s

This commit is contained in:
Shane C 2024-09-08 18:16:19 -04:00
parent d19c3075cd
commit 7e0eca2af3
Signed by: shanec
GPG key ID: E46B5FEA35B22FF9
2 changed files with 1 additions and 2 deletions

View file

@ -13,7 +13,6 @@ RUN wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz && tar -xf go1.23.1.linux
COPY --from=builder /app/build/goscan /goscan
COPY ./entrypoint.sh /entrypoint.sh
COPY --from=builder /app .
RUN chmod +x /goscan && chmod +x /entrypoint.sh
RUN curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b /usr/local/bin

View file

@ -200,7 +200,7 @@ var rootCmd = &cobra.Command{
isFound := false
for _, issue := range issues {
if issue.Title == "GoSec Report" && strings.Contains(issue.Body, "GoSec Report:") && actionCtx.Repository == issue.Repository.FullName {
if issue.Title == "GoSec Report" && actionCtx.Repository == issue.Repository.FullName {
isFound = true
if _, _, err := forgeClient.EditIssue(repoOwner, repoName, issue.Index, forgejo.EditIssueOption{
Body: &markdownOutputStr,