v1.9.0
main.yml / New push to repo (push) Failing after 2s
customJson.yml / New push to repo (push) Successful in 3s
main.yml / New push to repo (push) Failing after 2s
customJson.yml / New push to repo (push) Successful in 3s
This commit is contained in:
@@ -7,7 +7,7 @@ jobs:
|
||||
steps:
|
||||
- name: Publish to slack
|
||||
id: slack
|
||||
uses: slackapi/slack-github-action@v1.8.0
|
||||
uses: slackapi/slack-github-action@v1.9.0
|
||||
with:
|
||||
payload: "{\"key\":\"value\",\"foo\":\"bar\"}"
|
||||
env:
|
||||
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
steps:
|
||||
- name: Publish to slack
|
||||
id: slack
|
||||
uses: slackapi/slack-github-action@v1.8.0
|
||||
uses: slackapi/slack-github-action@v1.9.0
|
||||
with:
|
||||
channel-id: 'CTAAHRA79'
|
||||
slack-message: 'posting from a github action!'
|
||||
|
||||
@@ -57,7 +57,8 @@ try {
|
||||
}
|
||||
}
|
||||
|
||||
if (webhookUrl.length > 0) {
|
||||
console.log('webhookURL type', typeof webhookUrl)
|
||||
if (webhookUrl !== undefined && webhookUrl.length > 0) {
|
||||
console.log('flattening');
|
||||
// send flat payload to webhookUrl
|
||||
const flatPayload = flatten(payload);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "slack-github-action",
|
||||
"version": "1.8.0",
|
||||
"version": "1.9.0",
|
||||
"description": "The official slack github action. Use this to send data into your Slack workspace",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user