name: "Feishu Notification - Topic"
description: "Send Feish Topic"
author: VelocityLight

inputs:
  title:
    required: true
    description: "The title to send"
  content:
    required: true
    description: "The content to send"
  feishu_webhook_url:
    required: true

runs:
  using: "composite"
  steps:
    - name: "Notify Users using Feishu"
      working-directory: cicd-core/components/tools/notify-feishu-topic
      run: |
        bash notify_feishu_topic.sh "${{ inputs.feishu_webhook_url }}" "${{ inputs.title }}" "${{ inputs.content }}"
      shell: bash
