UOE-12649: Add throttling logic in the OpenWrap Server to block partner requests that consistently generate no revenue #1975
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Merge | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
- ci | |
jobs: | |
validate-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.0 | |
- name: Checkout Merged Branch | |
uses: actions/checkout@v4 | |
- name: Validate | |
run: | | |
git config --global url."https://${USERNAME}:${TOKEN}@git.pubmatic.com".insteadOf "https://git.pubmatic.com" | |
./validate.sh --nofmt --cov --race 10 | |
env: | |
GO111MODULE: "on" | |
GOPRIVATE: "git.pubmatic.com/PubMatic/*" | |
TOKEN: ${{ secrets.PM_OPENWRAP_CICD_PASSWORD }} | |
USERNAME: ${{ secrets.PM_OPENWRAP_CICD_USERNAME }} |