-
Notifications
You must be signed in to change notification settings - Fork 19
41 lines (41 loc) · 1.5 KB
/
manual-client-update.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "Manually invoke client updates for API change"
on:
workflow_dispatch:
inputs:
buftag:
description: "Tag or commit from https://buf.build/authzed/api/tags/main"
required: true
type: "string"
jobs:
trigger:
runs-on: "ubuntu-latest"
name: "📦 Trigger Client Updates"
steps:
- uses: "peter-evans/repository-dispatch@v2"
name: "🕸️ Update authzed-node"
with:
token: "${{ secrets.EXTERNAL_REPO_TOKEN }}"
repository: "authzed/authzed-node"
event-type: "api_update"
client-payload: '{"BUFTAG": "${{ inputs.buftag }}"}'
- uses: "peter-evans/repository-dispatch@v2"
name: "🐍 Update authzed-py"
with:
token: "${{ secrets.EXTERNAL_REPO_TOKEN }}"
repository: "authzed/authzed-py"
event-type: "api_update"
client-payload: '{"BUFTAG": "${{ inputs.buftag }}"}'
- uses: "peter-evans/repository-dispatch@v2"
name: "💎 Update authzed-rb"
with:
token: "${{ secrets.EXTERNAL_REPO_TOKEN }}"
repository: "authzed/authzed-rb"
event-type: "api_update"
client-payload: '{"BUFTAG": "${{ inputs.buftag }}"}'
- uses: "peter-evans/repository-dispatch@v2"
name: "☕ Update authzed-java"
with:
token: "${{ secrets.EXTERNAL_REPO_TOKEN }}"
repository: "authzed/authzed-java"
event-type: "api_update"
client-payload: '{"BUFTAG": "${{ inputs.buftag }}"}'