Skip to content

Commit

Permalink
fix: Using html_url instead (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot authored Dec 29, 2023
1 parent 97db1aa commit aca2001
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
message: "${{github.event.workflow_run.head_commit.message}}"
color: ff69b4
buttons: |
Pull Request ${{github.event.workflow_run.pull_requests[0].number}} ${{github.event.workflow_run.repository.url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}
Diff ${{github.event.workflow_run.repository.url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}/files
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:
Expand All @@ -37,10 +37,10 @@ jobs:
webhook: ${{ vars.MS_TEAMS_WEBHOOK_URI }}
title: "PR# ${{github.event.workflow_run.pull_requests[0].number}}"
message: "${{github.event.workflow_run.head_commit.message}}"
color: 4bb543
color: 28a745
buttons: |
Pull Request ${{github.event.workflow_run.pull_requests[0].number}} ${{github.event.workflow_run.repository.url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}
Diff ${{github.event.workflow_run.repository.url}}/pull/${{github.event.workflow_run.pull_requests[0].number}}/files
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:
Expand Down

0 comments on commit aca2001

Please sign in to comment.