diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index 1cd186f2e1..2f9b5a5ac2 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -21,7 +21,11 @@ jobs: runs-on: ubuntu-latest env: GO111MODULE: on + GOPRIVATE: github.com/bnb-chain + GH_ACCESS_TOKEN: ${{ secrets.GH_TOKEN }} steps: + - name: Setup GitHub Token + run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/ - name: Checkout Source uses: actions/checkout@v3