Skip to content

log notify error with request body (#476) #46

log notify error with request body (#476)

log notify error with request body (#476) #46

Workflow file for this run

name: JSON Schema
on:
push:
branches:
- main
paths:
- "**/*.go"
- ".github/workflows/schema.yaml"
env:
GO_VERSION: "1.20.4"
jobs:
schema:
name: JSON Schema
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
with:
token: ${{ secrets.MEGAEASE_BOT }}
- name: Setup Go Environment
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Build EaseProbe
run: make
- name: Generate JSON Schema
run: ./build/bin/easeprobe -j > resources/schema.json
- name: Commit JSON Schema
uses: EndBug/add-and-commit@v9
with:
message: "Update JSON Schema"
add: "resources/schema.json"
author_name: "GitHub Actions"
author_email: "[email protected]"