Skip to content

Commit 30f95fa

Browse files
author
Amir Moualem
authored
Merge pull request #119 from snyk/chore/pr-branch-of-origin
chore: surround branch of origin with backticks
2 parents 968b65b + 61863e8 commit 30f95fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/slack-notify-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#! /bin/bash
2-
curl -X POST -H 'Content-Type:application/json' -d '{"attachments": [{"color": "warning", "fallback": "Build Notification: $TRAVIS_BUILD_WEB_URL", "title": "Kubernetes-Monitor Publish Notification", "text": ":egg: A new version is about to be published! :egg:\nhttps://github.com/'$TRAVIS_PULL_REQUEST_SLUG'/pull/'$TRAVIS_PULL_REQUEST'\nbranch of origin is '$TRAVIS_PULL_REQUEST_BRANCH'"}]}' $SLACK_WEBHOOK
2+
curl -X POST -H 'Content-Type:application/json' -d '{"attachments": [{"color": "warning", "fallback": "Build Notification: $TRAVIS_BUILD_WEB_URL", "title": "Kubernetes-Monitor Publish Notification", "text": ":egg: A new version is about to be published! :egg:\nhttps://github.com/'$TRAVIS_PULL_REQUEST_SLUG'/pull/'$TRAVIS_PULL_REQUEST'\nbranch of origin is `'$TRAVIS_PULL_REQUEST_BRANCH'`"}]}' $SLACK_WEBHOOK

0 commit comments

Comments
 (0)