File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -35,23 +35,22 @@ jobs:
3535 push : true
3636
3737 update-digma-ui :
38- name : Update version in Digma UI
38+ name : Update Jaeger dependencies in Digma UI
3939 needs : [attach-release-asset, build-push-docker-image]
4040 runs-on : ubuntu-latest
4141 steps :
4242 - uses : actions/checkout@v4
4343 - name : Get Jaeger version
4444 run : echo "JAEGER_VERSION=$(jq -r '.version' jaeger.json)" >> $GITHUB_ENV
4545
46- - name : Create PR in digma-ui
47- run : |
48- curl -X POST -H "Accept: application/vnd.github.v3+json" \
49- -H "Authorization: token ${{ secrets.RELEASE_PAT }}" \
50- https://api.github.com/repos/ digma-ai/digma-ui/dispatches \
51- -d '{
52- "event_type": "update-jaeger",
53- "client_payload": {
54- "jaegerUIVersion": "'" ${{ needs.build.outputs.version }}"' ",
55- "jaegerVersion": "'" ${{ env.JAEGER_VERSION }}"' "
46+ - name : Dispatch event in digma-ui
47+ uses : peter-evans/repository-dispatch@v3
48+ with :
49+ token : ${{ secrets.RELEASE_PAT }}
50+ repository : digma-ai/digma-ui
51+ event-type : update-jaeger
52+ client-payload : |-
53+ {
54+ "jaegerUIVersion": "${{ needs.build.outputs.version }} ",
55+ "jaegerVersion": "${{ env.JAEGER_VERSION }}"
5656 }
57- }'
You can’t perform that action at this time.
0 commit comments