v1.12.0
customJson.yml / New push to repo (push) Successful in 6s
main.yml / New push to repo (push) Successful in 5s

This commit is contained in:
Steve Gill
2021-05-17 14:14:42 -07:00
parent 958cdf4fee
commit f4755fc113
5 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Publish to slack
id: slack
uses: slackapi/[email protected]1.0
uses: slackapi/[email protected]2.0
with:
payload: "{\"key\":\"value\",\"foo\":\"bar\"}"
env:
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
steps:
- name: Publish to slack
id: slack
uses: slackapi/[email protected]1.0
uses: slackapi/[email protected]2.0
with:
channel-id: 'CTAAHRA79'
slack-message: 'posting from a github action!'
+1 -2
View File
@@ -16102,8 +16102,7 @@ try {
}
console.log('webhookURL type', typeof webhookUrl)
if (typeof webhookUrl !== undefined) {
// && webhookUrl.length > 0
if (typeof webhookUrl !== 'undefined' && webhookUrl.length > 0) {
console.log('flattening');
// send flat payload to webhookUrl
const flatPayload = flatten(payload);
+1 -2
View File
@@ -58,8 +58,7 @@ try {
}
console.log('webhookURL type', typeof webhookUrl)
if (typeof webhookUrl !== undefined) {
// && webhookUrl.length > 0
if (typeof webhookUrl !== 'undefined' && webhookUrl.length > 0) {
console.log('flattening');
// send flat payload to webhookUrl
const flatPayload = flatten(payload);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "slack-github-action",
"version": "1.11.0",
"version": "1.12.0",
"description": "The official slack github action. Use this to send data into your Slack workspace",
"main": "dist/index.js",
"scripts": {