Skip to content

Commit

Permalink
Fixing json format: vars are getting in the way
Browse files Browse the repository at this point in the history
  • Loading branch information
jimleroyer committed Dec 14, 2023
1 parent cd2f397 commit f564b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/count-incident-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ jobs:
steps:
- name: Notify Slack channel if this job failed
run: |
json="{'text':'Core team tech debt show-off :muscle: :melting_face:\nBug: ${{ needs.count_bug_issues.outputs.count }}, Incident Actions: ${{ needs.count_incident_action_issues.outputs.count }}, Tech Debt issues: ${{ needs.count_tech_debt_issues.outputs.count }}'}"
json="{\"text\":\"Core team tech debt show-off :muscle: :melting_face:\nBug: ${{ needs.count_bug_issues.outputs.count }}, Incident Actions: ${{ needs.count_incident_action_issues.outputs.count }}, Tech Debt issues: ${{ needs.count_tech_debt_issues.outputs.count }}\"}"
curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit f564b99

Please sign in to comment.