File tree 1 file changed +28
-0
lines changed 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : slack-notification
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened]
6
+ pull_request_review :
7
+ types : [submitted]
8
+ pull_request_review_comment :
9
+ types : [created]
10
+ issues :
11
+ types : [opened]
12
+ issue_comment :
13
+ types : [created]
14
+
15
+ jobs :
16
+ slack-notification :
17
+ runs-on : ubuntu-latest
18
+ name : Sends a message to Slack when a pull request or an issue is made
19
+ steps :
20
+ - name : Send message to Slack API
21
+ uses : archive/github-actions-slack@master
22
+ with :
23
+ slack-bot-user-oauth-access-token : ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
24
+ slack-channel : ${{ secrets.SLACK_BOT_CHANNEL }}
25
+ slack-text : A new <https://github.com/"${{ github.repository }}"|"${{ github.event_name }}"> was made in *"${{ github.repository }}*".
26
+ slack-optional-icon_emoji : " :robot_face:"
27
+ - name : Result from "Send Message"
28
+ run : echo "The result was ${{ steps.notify.outputs.slack-result }}"
You can’t perform that action at this time.
0 commit comments