Skip to content

feat(data-designer): Add retrieval plugin for SDG for nemotron models… #1080

feat(data-designer): Add retrieval plugin for SDG for nemotron models…

feat(data-designer): Add retrieval plugin for SDG for nemotron models… #1080

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: Dispatch
on:
push:
branches: [main, "release/*"]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }}
cancel-in-progress: false
jobs:
notify-ci-consumer:
name: Notify CI consumer
runs-on: ubuntu-latest
steps:
- name: Send completion event
env:
GH_TOKEN: ${{ secrets.CI_DISPATCH_TOKEN }}
DISPATCH_REPO: ${{ secrets.CI_DISPATCH_REPO }}
shell: bash
run: |
set -euo pipefail
event_type="ci-passed"
release_version=""
if [[ "${GITHUB_REF_NAME}" == release/* ]]; then
event_type="release-branch-updated"
release_version="${GITHUB_REF_NAME#release/}"
fi
jq -n \
--arg event_type "${event_type}" \
--arg ref "${GITHUB_SHA}" \
--arg branch "${GITHUB_REF_NAME}" \
--arg version "${release_version}" \
'{
event_type: $event_type,
client_payload: {
ref: $ref,
branch: $branch,
version: $version
}
}' \
| gh api -X POST "/repos/${DISPATCH_REPO}/dispatches" --input -