Skip to content

Notify wandb/core - push to refs/heads/mike/call_filtering_1_by_thread #39948

Notify wandb/core - push to refs/heads/mike/call_filtering_1_by_thread

Notify wandb/core - push to refs/heads/mike/call_filtering_1_by_thread #39948

# When we push commits, fire off a `weave-package-updated`
# repository dispatch event to wandb/core
name: Notify wandb/core of branch push
run-name: Notify wandb/core - push to ${{ github.event.ref }}
on:
push:
branches:
- "**"
workflow_dispatch:
permissions:
packages: write
jobs:
check-which-tests-to-run:
uses: ./.github/workflows/check-which-tests-to-run.yaml
notify-wandb-core:
needs: [check-which-tests-to-run]
runs-on: ubuntu-latest
steps:
- name: Repository dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.WANDB_CORE_ACCESS_TOKEN }}
repository: wandb/core
event-type: weave-package-updated
client-payload: |-
{
"ref_name": "${{ github.ref_name }}",
"sha": "${{ github.sha }}",
"run_trace_server_tests": ${{ needs.check-which-tests-to-run.outputs.trace_server_tests }},
"actor": "${{ github.actor }}",
"actor_id": "${{ github.actor_id }}"
}