- name: Feishu action
uses: xtao/feishu-action@master
with:
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
title: ${{ github.repository }} Action
run_id: ${{ github.run_id }}
run_number: ${{ github.run_number }}
action_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
repository: ${{ github.repository }}
committer: ${{ github.actor }}
event_name: ${{ github.event_name }}
job_status: ${{ job.status }}
compare_url: ${{ github.event.compare }}
🔐 Set your secrets here: https://github.com/USERNAME/REPO/settings/secrets
.
Contexts and expression syntax for GitHub Actions, here: https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions#github-context
Result
option | type | description |
---|---|---|
url | string | webhook url: https://open.feishu.cn/open-apis/bot/v2/hook/7c5a4a4ba83bxxxxxx |
title | string | message title |