Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 新增Line Notify 機器人實作 #285

Merged
merged 3 commits into from Dec 31, 2022

Conversation

ayumi760405
Copy link
Contributor

@ayumi760405 ayumi760405 commented Dec 30, 2022

在提出此拉取请求时,我确认了以下几点(保存后请点击复选框):

  • 标题为fix、feat或doc开头
  • 我已检查没有与此请求重复的拉取请求。
  • 我已经考虑过,并确认这份呈件对其他人很有价值。
  • 我接受此提交可能不会被使用,并根据维护人员的意愿关闭拉取请求。

填写PR内容:新增Line Notify 機器人實作

@prlabeler prlabeler bot added the feature label Dec 30, 2022
error: "https://gitee.com/sonic-cloud/sonic-cloud/raw/main/src/assets/fail.png"
line-notify:
host: "https://notify-api.line.me/api/notify"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个url固定的话,我建议放在impl里用final string就可以了

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

理論上應該是不會改變,我先調整

Copy link
Member

@ZhouYixun ZhouYixun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢您的贡献,修改建议如上

Copy link
Member

@ZhouYixun ZhouYixun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

准许合入

@ZhouYixun ZhouYixun merged commit adccc78 into SonicCloudOrg:main Dec 31, 2022
@ZhouYixun
Copy link
Member

不过在我们的地区,Line Notify和telegram使用比较少,可以帮忙验证一下代码正确性吗

@ayumi760405
Copy link
Contributor Author

不过在我们的地区,Line Notify和telegram使用比较少,可以帮忙验证一下代码正确性吗

兩個單測都有在Test內,平台的排程推送,目前telegram,我正在使用也是有正常收到,Line Notify 我會建立一個項目改用LINE Notify 在觀察。

image

image

@ZhouYixun
Copy link
Member

非常感谢

@ZhouYixun
Copy link
Member

如果方便的话,可以在这里添加line notify的使用方法吗

https://github.com/SonicCloudOrg/sonic-offical-website/edit/main/src/markdown/doc/doc-robot.md

@ayumi760405
Copy link
Contributor Author

如果方便的话,可以在这里添加line notify的使用方法吗

https://github.com/SonicCloudOrg/sonic-offical-website/edit/main/src/markdown/doc/doc-robot.md

沒問題已補上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants