Skip to content

Commit

Permalink
QA-6145 updated return value
Browse files Browse the repository at this point in the history
  • Loading branch information
kbo001 committed Feb 28, 2024
1 parent 15afd33 commit fbda34f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/request_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,13 @@ jobs:
console.log("No notification sent")
}
return {
"SLACK_WEBHOOK_URL" : SLACK_WEBHOOK_URL
}
return SLACK_WEBHOOK_URL
- name: Post to Slack channel
id: slack-api-staging
uses: slackapi/[email protected]
if: ${{ fromJSON(steps.configure_slack.outputs.result).SLACK_WEBHOOK_URL != '' }}
if: ${{ steps.configure_slack.outputs.result.SLACK_WEBHOOK_URL != '' }}
with:
payload: |
{
Expand Down Expand Up @@ -180,7 +179,7 @@ jobs:
}
parse-json-secrets: true
env:
SLACK_WEBHOOK_URL: ${{ fromJSON(steps.configure_slack.outputs.result).SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_URL: ${{ steps.configure_slack.outputs.result.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

- name: Archive test results
Expand Down

0 comments on commit fbda34f

Please sign in to comment.