Add new ai gateway binding options #57
Workflow file for this run
This file contains 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: Run internal build | |
on: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
concurrency: | |
# Cancel existing builds for the same PR. | |
# Otherwise, all other builds will be allowed to run through. | |
group: internal-build.yml-${{ github.event.pull_request.number || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
internal-build: | |
if: "! ${{github.event.pull_request.head.repo.fork}}" # Don't run on forks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Run internal build | |
env: | |
CI_URL: ${{ secrets.CI_URL }} | |
CI_CLIENT_ID: ${{ secrets.CI_CF_ACCESS_CLIENT_ID }} | |
CI_CLIENT_SECRET: ${{ secrets.CI_CF_ACCESS_CLIENT_SECRET }} | |
run: | | |
python3 ./tools/cross/internal_build.py \ | |
${{github.event.pull_request.number}} \ | |
${{github.event.pull_request.head.sha}} \ | |
${{github.run_attempt}} \ | |
"${{github.event.pull_request.head.ref}}" \ | |
$CI_URL \ | |
$CI_CLIENT_ID \ | |
$CI_CLIENT_SECRET |