diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index c80f37b..badeef7 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -191,7 +191,7 @@ jobs: if: ${{ inputs.generate_docs }} run: go run ${{ inputs.docs_script }} env: - GOPRIVATE: github.com/wanaware + GOPRIVATE: github.com/wanaware/* - name: Generate GraphQL docs if: ${{ inputs.generate_docs }} diff --git a/.github/workflows/trivy-go-tests.yaml b/.github/workflows/trivy-go-tests.yaml index 08f516b..2e28c0f 100644 --- a/.github/workflows/trivy-go-tests.yaml +++ b/.github/workflows/trivy-go-tests.yaml @@ -46,9 +46,9 @@ jobs: if: ${{ inputs.run_go_tests }} run: | git config --global url."https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/".insteadOf "https://github.com/" - export GOPRIVATE=github.com/wanaware + go env -w GOPRIVATE=github.com/wanaware/* env: - GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} + GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} - name: Download Go Modules if: ${{ inputs.run_go_tests }}