Skip to content

Commit 360fc02

Browse files
committed
using slightly different variables as the PR branch isn't know in this workflow
1 parent f645e52 commit 360fc02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cicd-2-publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
webhook-type: webhook-trigger
144144
payload: |
145145
status: "${{ job.status }}"
146-
link: "${{ github.event.pull_request.html_url }}"
147-
Author: "${{ github.event.pull_request.user.login }}"
148-
title: "${{ github.event.pull_request.title }}"
146+
link: "https://github.com/${{ github.repository }}/commit/${{ github.sha }}"
147+
Author: "${{ github.actor }}"
148+
title: "Pushed to main"
149149
version: "${{ needs.metadata.outputs.version }}"

0 commit comments

Comments
 (0)