Skip to content

Commit

Permalink
Fix gosec issue and add codeowners (#76)
Browse files Browse the repository at this point in the history
* add goflag

* fix typo

* downgrade gosec version

* upgrade gosec version to 2.19

* Downgrade to gosec v2.18.2

* update codeowners

* remove buildvcs flag
  • Loading branch information
chimanjain authored Feb 23, 2024
1 parent 36f7969 commit 5add0b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
# Adarsh Kumar Yadav (adarsh-dell)
# Bharath Sreekanth (bharathsreekanth)
# Matt Schmaelzle (mjsdell)
# Chiman Jain (chimanjain)
# Harish H (HarishH-DELL)
# Nitesh Rewatkar (nitesh3108)

# for all files:
* @gallacher @tdawe @alikdell @atye @hoppea2 @shaynafinocchiaro @sharmilarama @EvgenyUglov @bjiang27 @isaiasA1 @arnchiequ-dell @xuluna @AkshaySainiDell @satyakonduri @adarsh-dell @bharathsreekanth @mjsdell
* @gallacher @tdawe @alikdell @atye @hoppea2 @shaynafinocchiaro @sharmilarama @EvgenyUglov @bjiang27 @isaiasA1 @arnchiequ-dell @xuluna @AkshaySainiDell @satyakonduri @adarsh-dell @bharathsreekanth @mjsdell @chimanjain @HarishH-DELL @nitesh3108
3 changes: 1 addition & 2 deletions gosec-runner/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ then
EXCLUDE_DIR_FLAG="-exclude-dir=$EXCLUDE_DIR"
fi

curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.18.2
echo "run gosec command: $(go env GOPATH)/bin/gosec $EXCLUDE_FLAG $EXCLUDE_DIR_FLAG $DIRECTORIES"
$(go env GOPATH)/bin/gosec $EXCLUDE_FLAG $EXCLUDE_DIR_FLAG $DIRECTORIES

Expand Down

0 comments on commit 5add0b0

Please sign in to comment.