Skip to content

Commit

Permalink
Try to send actual message
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Scholz committed Sep 19, 2023
1 parent 4d2f4b4 commit 5c42839
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ jobs:
id: test-action
uses: ./
with:
webhookUrl: 'https://httpbin.org/status/200'
#additionalSections: '[{"header": "Contact Info"}]'
#webhookUrl: 'https://httpbin.org/status/200'
webhookUrl: 'https://chat.googleapis.com/v1/spaces/AAAAwMODOhg/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=v1eaQMnMdSbVfUMxpgoqrTI8lRW4C7BHnn7rWEgB9NY'
additionalSections: '[{"header": "Contact Info"}]'
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/cardSection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ export function createDefaultCardV2Section(): object[] {
)
return [
{
header: 'Contact Info',
header: repoPath,
collapsible: collapsibleSection,
uncollapsibleWidgetsCount,
widgets: [
{
decoratedText: {
startIcon: {
knownIcon: 'STAR'
iconUrl:
'https://cdn0.iconfinder.com/data/icons/octicons/1024/git-branch-128.png'
},
text: repoPath
text: github.context.ref
}
},
{
Expand Down

0 comments on commit 5c42839

Please sign in to comment.