Skip to content

Commit

Permalink
copy banking
Browse files Browse the repository at this point in the history
  • Loading branch information
mayconamaroCW committed Apr 22, 2024
1 parent 87c971a commit b0a0a80
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/outdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
id: outdated
run: |
TABLE="$(cat outdated.txt)"
MESSAGE="\`\`\`${TABLE}\`\`\`"
echo "MESSAGE_JSON=$(echo -n "${MESSAGE}" | jq -aRs .)" >> $GITHUB_ENV
echo "table=$(echo "$TABLE" | awk '{printf "%s\\n ", $0}' -)" >> $GITHUB_OUTPUT
- name: Notify Slack
id: slack
Expand All @@ -52,7 +51,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": ${{ env.MESSAGE_JSON }}
"text": "```${{ steps.outdated.outputs.table }}```"
}
}
]
Expand Down

0 comments on commit b0a0a80

Please sign in to comment.