-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔧 Fix Alert Step Failing #1035
🔧 Fix Alert Step Failing #1035
Conversation
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
1ce72ae
to
3ac1b17
Compare
With multiple lines! And even more lines here! Just for good measure
3037cd4
to
31a53d8
Compare
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": ":x: *GitHub Workflow Failed!* \n\nA workflow has failed in the repository *<https://github.com/${{ github.repository }}|${{ github.repository }}>*.\n\n*Workflow:* `${{ github.workflow }}`\n*Branch:* `${{ github.ref_name }}`\n*Commit:* `${{ github.sha }}` - _`${{ format(github.event.head_commit.message, 'replace', '\\n', ' ') }}`_\n*Author:* `${{ github.event.head_commit.author.name }}`"}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced _${{ github.event.head_commit.message }}_
with _
${{ format(github.event.head_commit.message, 'replace', '\\n', ' ') }}_
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": ":x: *GitHub Workflow Failed!* \n\nA workflow has failed in the repository *<https://github.com/${{ github.repository }}|${{ github.repository }}>*.\n\n*Workflow:* `${{ github.workflow }}`\n*Branch:* `${{ github.ref_name }}`\n*Commit:* `${{ github.sha }}` - _`${{ format(github.event.head_commit.message, 'replace', '\\n', ' ') }}`_\n*Author:* `${{ github.event.head_commit.author.name }}`"}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replaced ${{ github.event.head_commit.message }} with ${{ format(github.event.head_commit.message, 'replace', '\\n', ' ') }}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
👀 Purpose
♻️ What's changed
📓 Notes