diff --git a/.github/workflows/adapter-code-coverage.yml b/.github/workflows/adapter-code-coverage.yml index 5b5dc9331e5..b74ecebb446 100644 --- a/.github/workflows/adapter-code-coverage.yml +++ b/.github/workflows/adapter-code-coverage.yml @@ -43,6 +43,8 @@ jobs: id: run_coverage if: ${{ steps.get_directories.outputs.result }} != "" run: | + git config --global url."https://${USERNAME}:${TOKEN}@git.pubmatic.com".insteadOf "https://git.pubmatic.com" + directories=$(echo '${{ steps.get_directories.outputs.result }}' | jq -r '.[]') go mod download @@ -65,13 +67,18 @@ jobs: # remove pull request branch files cd .. rm -f -r ./* + env: + GO111MODULE: "on" + GOPRIVATE: "git.pubmatic.com/PubMatic/*" + TOKEN: ${{ secrets.PM_OPENWRAP_CICD_PASSWORD }} + USERNAME: ${{ secrets.PM_OPENWRAP_CICD_USERNAME }} - name: Checkout coverage-preview branch uses: actions/checkout@v3 with: fetch-depth: 0 ref: coverage-preview - repository: prebid/prebid-server + repository: PubMatic-OpenWrap/prebid-server - name: Commit coverage files to coverage-preview branch if: ${{ steps.run_coverage.outputs.coverage_dir }} != "" diff --git a/.github/workflows/cross-repo-issue.yml b/.github/workflows/cross-repo-issue.yml index 2bea44a301c..fd479cd2ad9 100644 --- a/.github/workflows/cross-repo-issue.yml +++ b/.github/workflows/cross-repo-issue.yml @@ -4,7 +4,7 @@ on: pull_request_target: types: [closed] branches: - - "master" + - "master-disable" jobs: cross-repo: