Skip to content

Commit c0a5673

Browse files
committed
chore: events not on workflow_call
1 parent 7319f5a commit c0a5673

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/create-github-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,19 @@ jobs:
117117
# Only copy over the "blocks" array to the Block Kit Builder
118118
payload: |
119119
{
120-
"text": "Workflow \"${{ github.event.workflow_run.name }}\" failed in ${{ github.event.workflow_run.repository.name }}",
121120
"blocks": [
122121
{
123122
"type": "header",
124123
"text": {
125124
"type": "plain_text",
126-
"text": ":uno-skip: Github Release was skipped in ${{ github.event.workflow_run.repository.name }}! :uno-skip:"
125+
"text": ":uno-skip: Github Release was skipped in ${{ github.repository }}! :uno-skip:"
127126
}
128127
},
129128
{
130129
"type": "section",
131130
"text": {
132131
"type": "mrkdwn",
133-
"text": "*Repo:* ${{ github.event.workflow_run.repository.html_url }}\n*Workflow name:* `${{ github.event.workflow_run.name }}`\n*Job url:* ${{ github.event.workflow_run.html_url }}"
132+
"text": "*Repo:* ${{ github.server_url }}/${{ github.repository }}\n*Workflow name:* `${{ github.workflow }}`\n*Run url:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
134133
}
135134
}
136135
]

0 commit comments

Comments
 (0)