Skip to content

Commit

Permalink
fix: adding facts (#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Jan 4, 2024
1 parent 4d79059 commit ff8d7c0
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ jobs:
Pull Request ${{github.event.workflow_run.pull_requests[0].number}} ${{github.event.workflow_run.repository.html_url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}
Diff ${{github.event.workflow_run.repository.html_url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}/files
sections: |
-
activity:
title: ${{github.event.workflow_run.head_commit.committer.name }}
- activity:
title: ${{github.event.workflow_run.head_commit.committer.name}}
subtitle: ${{github.event.workflow_run.head_commit.timestamp}}
image: ${{github.event.workflow_run.head_repository.owner.avatar_url}}
facts:
- name: event
value: ${{github.event.workflow_run.event}}
- name: status
value: ${{github.event.workflow_run.status}}
- facts:
- name: event
value: ${{github.event.workflow_run.event}}
- name: status
value: ${{github.event.workflow_run.status}}
notify-teams-completed:
if: ${{github.event.workflow_run.status == 'completed'}}
Expand All @@ -44,13 +43,12 @@ jobs:
Pull Request ${{github.event.workflow_run.pull_requests[0].number}} ${{github.event.workflow_run.repository.html_url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}
Diff ${{github.event.workflow_run.repository.html_url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}/files
sections: |
-
activity:
- activity:
title: ${{github.event.workflow_run.head_commit.committer.name}}
subtitle: ${{github.event.workflow_run.head_commit.timestamp}}
image: ${{github.event.workflow_run.head_repository.owner.avatar_url}}
facts:
- name: event
value: ${{github.event.workflow_run.event}}
- name: status
value: ${{github.event.workflow_run.status}}
- facts:
- name: event
value: ${{github.event.workflow_run.event}}
- name: status
value: ${{github.event.workflow_run.status}}

0 comments on commit ff8d7c0

Please sign in to comment.