Skip to content

[CI] add contributor interaction automation #1

[CI] add contributor interaction automation

[CI] add contributor interaction automation #1

name: Trigger Full Test Suite
on:
pull_request:
types: [labeled]
jobs:
trigger-buildkite:
if: >-
github.repository == 'hao-ai-lab/FastVideo'
&& github.event.label.name == 'ready'
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Trigger Buildkite build with FULL_SUITE
uses: buildkite/trigger-pipeline-action@v2.4.1
with:
buildkite_api_access_token: ${{ secrets.BUILDKITE_API_TOKEN }}
pipeline: "${{ vars.BUILDKITE_ORG_SLUG }}/${{ vars.BUILDKITE_PIPELINE_SLUG }}"
branch: "${{ github.event.pull_request.head.ref }}"
commit: "${{ github.event.pull_request.head.sha }}"
message: "Full suite for PR #${{ github.event.pull_request.number }}"
send_pull_request: "true"
pull_request_base_branch: "${{ github.event.pull_request.base.ref }}"
build_env_vars: '{"FULL_SUITE": "true"}'