remove random dockerfile run command
All checks were successful
Gosec Check / Gosec Check (push) Successful in 51s
All checks were successful
Gosec Check / Gosec Check (push) Successful in 51s
This commit is contained in:
parent
d19c3075cd
commit
7e0eca2af3
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue