mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: Use the git event payload rather than github context to populate the source SHA in the enterprise downstream test (#59435)
* test * I guess the pull_request event doesn't include the 'sha' item
This commit is contained in:
parent
9fec54df2d
commit
5995824f0c
2
.github/workflows/enterprise-pr-check.yml
vendored
2
.github/workflows/enterprise-pr-check.yml
vendored
@ -23,4 +23,4 @@ jobs:
|
||||
repository: grafana/grafana-enterprise
|
||||
event_type: oss-pull-request
|
||||
client_payload:
|
||||
'{"source_sha": "${{ github.sha }}", "source_branch": "${{ github.head_ref }}", "target_branch": "${{ github.base_ref }}", "pr_number": "${{ github.event.number }}"}'
|
||||
'{"source_sha": "${{ github.event.pull_request.head.sha }}", "source_branch": "${{ github.head_ref }}", "target_branch": "${{ github.base_ref }}", "pr_number": "${{ github.event.number }}"}'
|
||||
|
Loading…
Reference in New Issue
Block a user