Skip to content

Commit

Permalink
SC-16210 API request
Browse files Browse the repository at this point in the history
  • Loading branch information
yanis-martin-sonarsource1 committed Oct 3, 2024
1 parent 207e1bd commit 3d9482d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@
}
else
{
throw new Error(`User with email ${email} not found`);
core.exportVariable('user_id', '');
}
}
else
{
throw new Error(`Failed to fetch user list: ${data.error}`);
core.exportVariable('user_id', '');
}
}
else
{
throw new Error('Failed to extract email from actor');
core.exportVariable('user_id', '');
}
- name: Send Slack notification
Expand Down Expand Up @@ -100,9 +100,14 @@
{
"type": "context",
"elements": [
{
"type": "image",
"image_url": "${{ github.event.check_run.app.owner.avatar_url }}",
"alt_text": "Icon"
},
{
"type": "mrkdwn",
"text": "<|View more details>"
"text": "<${{ github.event.check_run.details_url }}|View more details>"
}
]
}
Expand Down

0 comments on commit 3d9482d

Please sign in to comment.