b2network / b2-node

Ethermint is a Cosmos SDK library for running scalable and interoperable EVM chains
https://docs.evmos.org/
GNU Lesser General Public License v3.0
3 stars 7 forks source link

Semgrep action Get Diff step Failure #11

Closed oxf71 closed 8 months ago

oxf71 commented 8 months ago

https://github.com/b2network/b2-node/actions/runs/6717292590/job/18254897390

git remote add get-diff-action
  >> fatal: detected dubious ownership in repository at '/__w/b2-node/b2-node'
  >> To add an exception for this directory, call:
  >> 
  >>    git config --global --add safe.directory /__w/b2-node/b2-node
git fetch --no-tags --no-recurse-submodules '--depth=10000' get-diff-action 'refs/pull/6/merge:refs/remotes/get-diff-action/pull/6/merge' 'refs/heads/main:refs/remotes/get-diff-action/main'
  >> fatal: detected dubious ownership in repository at '/__w/b2-node/b2-node'
  >> To add an exception for this directory, call:
  >> 
  >>    git config --global --add safe.directory /__w/b2-node/b2-node
git diff 'get-diff-action/main...get-diff-action/pull/6/merge' '--diff-filter=AMRC' --name-only
Warning:   >> warning: Not a git repository. Use --no-index to compare two paths outside a working t

need change ethermint -> b2-node

https://github.com/b2network/b2-node/blob/f6f622235321a8b4aff012abd107cbaa34b0d8e5/.github/workflows/semgrep.yml#L22