Skip to content

Commit 726419e

Browse files
authored
Merge pull request JeffersonLab#138 from c-dilks/fix-push-dispatch
fix: payload branch and URL for `push` dispatch triggers
2 parents 169a4e8 + 7c5f066 commit 726419e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
"actor": "${{ github.actor }}",
3535
"source": "${{ github.event.repository.name }}",
3636
"title": "${{ steps.sanitize.outputs.title }}",
37-
"source_url": "${{ github.event.pull_request.html_url }}",
38-
"git_coatjava": "{\"fork\": \"${{ github.repository }}\", \"branch\": \"${{ github.head_ref || github.ref }}\" }"
37+
"source_url": "${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
38+
"git_coatjava": "{\"fork\": \"${{ github.repository }}\", \"branch\": \"${{ github.head_ref || github.ref_name }}\" }"
3939
}

0 commit comments

Comments
 (0)