Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Notify | |
on: | |
release: | |
# published: latest and prereleased will trigger | |
# released: only latest release will trigger | |
types: [released] | |
jobs: | |
notify: | |
# released only @antv/l7 main package | |
if: startswith(github.event.release.tag_name, '@antv/l7@') | |
runs-on: ubuntu-latest | |
steps: | |
- name: DingTalk Release Notify | |
uses: visiky/dingtalk-release-notify@main | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DING_TALK_TOKEN: ${{ secrets.DING_TALK_ACCESS_TOKEN}} | |
notify_title: '🎉 L7 发布 release {release_tag} 🎉' | |
notify_body: '## { title } <hr /> { body } <hr />' | |
notify_footer: '前往 [**L7 Releases**]({ release_url }) 查看完整信息.' | |
at_all: false | |
enable_prerelease: false |