/feishu

Github Action for Sending feishu robot messages.

Primary LanguageGoApache License 2.0Apache-2.0

Github Action for Feishu Robot Messages

build-test GoDoc Go Report Card

Github Action for Sending feishu robot messages.

Environment Variables

  • FEISHU_CUSTOMERBOT_WEBHOOK: feishu access token
  • FEISHU_CUSTOMERBOT_SECRET: feishu secret

How to Use

    - name: Sending Feishu Message
      uses: x-actions/feishu@main
      env:
        FEISHU_CUSTOMERBOT_WEBHOOK: ${{ secrets.FEISHU_CUSTOMERBOT_WEBHOOK }}
        FEISHU_CUSTOMERBOT_SECRET: ${{ secrets.FEISHU_CUSTOMERBOT_SECRET }}
        MSGTYPE: interactive
        TITLE: "x-actions feishu message"
        CONTENT: |
          > Build Github Action Done.
          > ^_^

Options

  • release
git tag v0.1.0
git push origin --tags
  • download
curl -Lfs -o feishu https://github.com/x-actions/feishu/releases/latest/download/feishu-{linux|darwin|windows}
chmod +x feishu
./feishu
  • help
Usage of ./feishu:

Docs