-
Notifications
You must be signed in to change notification settings - Fork 114
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
Slack notifications not passing on commit details #97
Comments
Confirmed. After making this change, I now see commit messages in my Slack quicksilver notifications. |
Pull request with a fix for this wrapped into #101 |
This is still an issue and one I'd regard as fairly major. It prevents both the commit ID and message from ever being displayed in Slack. Could this be separated from the more complicated #101 which appears to have stalled? |
Looks like my PR now has conflicts. Unfortunately I don't have time to resolve those directly so perhaps a new PR can be opened to solve this specific issue. |
There were a number of other changes I wanted to make for our usage so I created a new repository. https://github.com/imclean557/slack-pantheon |
Using the example slack_notifications.php, the commit ID and message weren't being passed on to Slack. It looks like $fields array wasn't merged properly. To resolve, I changed the following from line 78:
To this:
Possibly the numeric keys generated by PHP for the second array start at 0 so are ignored when using +=.
The text was updated successfully, but these errors were encountered: