使用pythonsdk上报trace到开源的cozeloop,调用树展示异常 #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Notification | |
on: | |
issues: | |
types: ['opened', 'reopened', 'closed'] | |
jobs: | |
sync: | |
name: Sync Issues | |
runs-on: ubuntu-latest | |
env: | |
NODE_VERSION: '18' | |
LARK_APP_ID: ${{ secrets.COZELOOP_LARK_APP_ID }} | |
LARK_APP_SECRET: ${{ secrets.COZELOOP_LARK_APP_SECRET }} | |
ISSUE_ACTION: ${{ github.event.action }} | |
ISSUE_NUMBER: ${{ github.event.issue.number }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
ISSUE_TITLE: ${{ github.event.issue.title }} | |
ISSUE_BODY: ${{ github.event.issue.body }} | |
REPO_NAME: ${{ github.repository }} | |
steps: | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install ci-tools | |
run: | | |
npm install -g @cozeloop/[email protected] | |
- name: Notify via lark | |
run: | | |
cozeloop-ci lark sync-issue \ | |
--chat-id oc_cea183c7e979931fc5e2bee03a278a48 |