Skip to content

Commit 9b3b5ab

Browse files
TheRealSpaceShipoginskis
authored andcommitted
Fix show of issue status in workflow
1 parent 2a02a0b commit 9b3b5ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/issue-notification.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Issue Notification
2-
run-name: "Issue #${{ github.event.issue.number }} ${{github.event.issue.event}}"
2+
run-name: "Issue #${{ github.event.issue.number }} ${{ github.event.action }}"
33
on:
44
issues:
55
types: [opened, edited, closed, reopened, assigned]
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
webhook_uri: ${{ secrets.TEAMS_WEBHOOK_URI }}
2020
summary: "Issue ${{ github.event.repository.name }}#${{ github.event.issue.number }}"
21-
title: "Issue ${{github.event.action}}: \"${{ github.event.issue.title }}\""
21+
title: "Issue ${{ github.event.action }}: \"${{ github.event.issue.title }}\""
2222
sections: '[{"activityTitle":"${{ github.event.sender.login }}","activitySubtitle":"${{ github.event.issue.updated_at }}","activityImage":"${{ github.event.sender.avatar_url }}","facts":[{"name":"Repository","value":"${{ github.event.repository.name }}"},{"name":"Issue #","value":"${{ github.event.issue.number }}"}],"text":"${{ github.event.issue.body }}"}]'
2323
actions: '[{ "@type": "OpenUri", "name": "View in GitHub", "targets": [{ "os": "default", "uri": "http://github.com/epam/${{ github.event.repository.name }}/issues/${{ github.event.issue.number }}" }] }]'
2424
assign-project:

0 commit comments

Comments
 (0)