Notify wandb/core - push to refs/heads/mike/call_filtering_2_minimal_filter #39949
This file contains hidden or 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
| # 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 }}" | |
| } |