[Feature]: 能否出个win10 的免安装版,公司电脑不能随便安装软件,只能用免安装版 #2529
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: Notify | |
on: | |
issues: | |
types: opened | |
issue_comment: | |
types: created | |
pull_request_target: | |
types: opened | |
discussion: | |
types: created | |
discussion_comment: | |
types: created | |
jobs: | |
tg-notify: | |
name: Notify | |
runs-on: ubuntu-latest | |
steps: | |
# issue_comment | |
- uses: colutius/Telegram-Msg@main | |
if: github.event_name == 'issue_comment' | |
with: | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
chatid: ${{ secrets.TELEGRAM_CHATID }} | |
button: true | |
message: | | |
📣 New ${{github.event_name}} in pot-desktop | |
💡Title: ${{ github.event.issue.title }} | |
👤User: ${{ github.event.sender.login }} | |
${{ github.event.comment.body }} | |
button_name: 👀前往查看👀 | |
button_url: ${{ github.event.comment.html_url }} | |
# discussion_comment | |
- uses: colutius/Telegram-Msg@main | |
if: github.event_name == 'discussion_comment' | |
with: | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
chatid: ${{ secrets.TELEGRAM_CHATID }} | |
button: true | |
message: | | |
📣 New ${{github.event_name}} in pot-desktop | |
💡Title: ${{ github.event.discussion.title }} | |
👤User: ${{ github.event.sender.login }} | |
${{ github.event.comment.body }} | |
button_name: 👀前往查看👀 | |
button_url: ${{ github.event.comment.html_url }} | |
# issues | |
- uses: colutius/Telegram-Msg@main | |
if: github.event_name == 'issues' | |
with: | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
chatid: ${{ secrets.TELEGRAM_CHATID }} | |
button: true | |
message: | | |
📣 New ${{github.event_name}} in pot-desktop | |
💡Title: ${{ github.event.issue.title }} | |
👤User: ${{ github.event.sender.login }} | |
${{ github.event.issue.body }} | |
button_name: 👀前往查看👀 | |
button_url: ${{ github.event.issue.html_url }} | |
# discussion | |
- uses: colutius/Telegram-Msg@main | |
if: github.event_name == 'discussion' | |
with: | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
chatid: ${{ secrets.TELEGRAM_CHATID }} | |
button: true | |
message: | | |
📣 New ${{github.event_name}} in pot-desktop | |
💡Title: ${{ github.event.discussion.title }} | |
👤User: ${{ github.event.sender.login }} | |
${{ github.event.discussion.body }} | |
button_name: 👀前往查看👀 | |
button_url: ${{ github.event.discussion.html_url }} | |
# pull_request | |
- uses: colutius/Telegram-Msg@main | |
if: github.event_name == 'pull_request_target' | |
with: | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
chatid: ${{ secrets.TELEGRAM_CHATID }} | |
button: true | |
message: | | |
📣 New ${{github.event_name}} in pot-desktop | |
💡Title: ${{ github.event.pull_request.title }} | |
👤User: ${{ github.event.sender.login }} | |
${{ github.event.pull_request.body }} | |
button_name: 👀前往查看👀 | |
button_url: ${{ github.event.pull_request.html_url }} |