Skip to content

fix: 将下游服务中使用usermeta的都改为使用userId进行简化 #132

fix: 将下游服务中使用usermeta的都改为使用userId进行简化

fix: 将下游服务中使用usermeta的都改为使用userId进行简化 #132

name: Trigger Golang Code Generate
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
branches: [ "*" ]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Trigger Golang
run: |
branch=$(echo ${{ github.event.ref }} | awk -F '/' '{print $3}')
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/xh-polaris/service-idl-gen-go/dispatches \
-d '{"event_type":"idl_update","client_payload":{"repository":"${{ github.repository }}","ref":"'$branch'","commit_msg":"${{ github.event.head_commit.message }}"}}'