File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,11 @@ jobs:
25
25
rocketchat_issue_notification :
26
26
name : Someone labeled their Issue
27
27
runs-on : ubuntu-latest
28
- if : ${{ github.event.issue && contains('comments welcome|help wanted|waiting for review ', github.event.label.name) }}
28
+ if : ${{ github.event.issue && contains('comments welcome|help wanted', github.event.label.name) }}
29
29
steps :
30
30
- name : Push notification for an Issue labeled as "comments welcome"
31
31
if : ${{ github.event.label.name == 'comments welcome' }}
32
- run : curl "${{ secrets.ROCKETCHAT_SERVER }}/hooks/${{ secrets.ROCKETCHAT_HOOK_PR_NOTIFICATIONS }}" -d "text=${{ github.event.sender.login }} would like to get feedback on issue ${{ github.event.pull_request .html_url }}" -d "username=${{ github.event.sender.login }}" -d "avatar=${{ github.event.sender.avatar_url }}"
32
+ run : curl "${{ secrets.ROCKETCHAT_SERVER }}/hooks/${{ secrets.ROCKETCHAT_HOOK_PR_NOTIFICATIONS }}" -d "text=${{ github.event.sender.login }} would like to get feedback on issue ${{ github.event.issue .html_url }}" -d "username=${{ github.event.sender.login }}" -d "avatar=${{ github.event.sender.avatar_url }}"
33
33
- name : Push notification for an Issue labeled as "help wanted"
34
34
if : ${{ github.event.label.name == 'help wanted' }}
35
- run : curl "${{ secrets.ROCKETCHAT_SERVER }}/hooks/${{ secrets.ROCKETCHAT_HOOK_PR_NOTIFICATIONS }}" -d "text=${{ github.event.sender.login }} needs help with issue ${{ github.event.pull_request.html_url }}" -d "username=${{ github.event.sender.login }}" -d "avatar=${{ github.event.sender.avatar_url }}"
36
- - name : Push notification for an Issue labeled as "waiting for review"
37
- if : ${{ github.event.label.name == 'waiting for review' }}
38
- run : curl "${{ secrets.ROCKETCHAT_SERVER }}/hooks/${{ secrets.ROCKETCHAT_HOOK_PR_NOTIFICATIONS }}" -d "text=${{ github.event.sender.login }} is waiting for a code review of issue ${{ github.event.pull_request.html_url }}" -d "username=${{ github.event.sender.login }}" -d "avatar=${{ github.event.sender.avatar_url }}"
35
+ run : curl "${{ secrets.ROCKETCHAT_SERVER }}/hooks/${{ secrets.ROCKETCHAT_HOOK_PR_NOTIFICATIONS }}" -d "text=${{ github.event.sender.login }} needs help with issue ${{ github.event.issue.html_url }}" -d "username=${{ github.event.sender.login }}" -d "avatar=${{ github.event.sender.avatar_url }}"
You can’t perform that action at this time.
0 commit comments