Skip to content

Commit 046c63d

Browse files
authored
Add tag to the emitted JSON blob (#504)
1 parent 01a87a0 commit 046c63d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tag_and_release_protos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
tag: ${{needs.bump-tag.outputs.new_tag}}
4848

4949
dispatch:
50-
needs: buf-push
50+
needs: [bump-tag, buf-push]
5151
if: github.repository_owner == 'viamrobotics'
5252
runs-on: ubuntu-latest
5353
container: ghcr.io/viamrobotics/canon:amd64
@@ -70,4 +70,4 @@ jobs:
7070
token: ${{ secrets.REPO_READ_TOKEN }}
7171
repository: ${{ matrix.repo }}
7272
event-type: protos-updated
73-
client-payload: '{"repo_name": "${{github.repository}}", "sha": "${{github.sha}}"}'
73+
client-payload: toJSON({repo_name: github.repository, sha: github.sha, tag: needs.bump-tag.outputs.new_tag})

0 commit comments

Comments
 (0)