Project Setting => Notifications => New subscription
Code (Git) => A pull request is created or updated
subscription 相關設定,分別為
- Description:修改為方便辨識名稱
- Deliver to:選擇 Member of Project Team,預設是根據 Role
- Filter:A specific team project:選擇特定專案
Filter criteria 為發信條件,紀錄兩種觸發方式
- Event Type = Pull request created
- Status changes to Completed
兩者差異在於發出訊息內容,Pull request created 內會包含 Reviewer、檔案變更、Commits 資訊,Status changes to Completed 只有 Reviewer
下圖為官方文章 - Create an email subscription 發信條件
沒有留言:
張貼留言