diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 959970d9..15408a70 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -38,6 +38,8 @@ jobs: - name: Build & Test run: make test-docker version=${{ matrix.python-version }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} deploy: name: Deploy diff --git a/Makefile b/Makefile index 96161106..e63fac71 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ test-integ: test version ?= latest test-docker: - curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh + curl -s "https://raw.githubusercontent.com/sendgrid/sendgrid-oai/refs/heads/main/prism/prism.sh?token=$(GITHUB_TOKEN)" -o prism.sh version=$(version) bash ./prism.sh clean: nopyc