Skip to content

Commit

Permalink
fix: xx
Browse files Browse the repository at this point in the history
  • Loading branch information
akinoccc committed Sep 1, 2024
1 parent 649e241 commit d36e305
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Context Variables
run: |
echo "Repository: ${{ github.event.repository.name }}"
echo "Workflow: ${{ github.event.workflow_run.name }}"
echo "Branch: ${{ github.event.workflow_run.head_branch }}"
echo "Commit Message: ${{ github.event.workflow_run.head_commit.message }}"
echo "Committer: ${{ github.event.workflow_run.head_commit.committer.name }}"
- uses: ./
with:
type: markdown # text, markdown, image, news, template_card
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ async function run() {
return
}

core.debug(`Message Content: ${msgContent}`)
core.debug(`Message Type: ${msgType}`)

// 发送消息
await sendMessageToWeComBot(wxWorkBotKey, msgType, msgContent)
}
Expand Down

0 comments on commit d36e305

Please sign in to comment.