Skip to content

Commit

Permalink
testing block payload
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 17, 2024
1 parent 384e772 commit 3df5648
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/actions/notify-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
job_url:
required: false
description: "job event link"
repository_name:
required: false
description: "repo name"


runs:
using: "composite"
Expand Down Expand Up @@ -44,13 +48,10 @@ runs:
"blocks": [
{
"type": "section",
"fields": [
{
"title": "Repository",
"value": "${{github.repository}}",
"short": true
}
]
"text": {
"text": "*Repository:* ${{inputs.repository_name}}",
"type": "mrkdwn"
}
}
]
}
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@ jobs:
job_status: ${{job.status}}
XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}}
job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
repository_name: ${{github.repository}}

0 comments on commit 3df5648

Please sign in to comment.