Skip to content

fix: xx

fix: xx #17

Workflow file for this run

name: 'Notify'
on:
push:
branches:
- main
jobs:
notify:
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
content: |
# Hello all, I will release ${{ github.event.repository.name }} ${{ github.event.workflow_run.name }} with branch ${{ github.event.workflow_run.head_branch }}, please note that.
> ${{ github.event.workflow_run.head_commit.message }}
> pushed by ${{ github.event.workflow_run.head_commit.committer.name }}
key: ${{ secrets.WECOM_BOT_KEY }} # Your key of wecom bot hook