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
pull/59437/head
Kevin Minehart 3 years ago committed by GitHub
parent 9fec54df2d
commit 5995824f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/enterprise-pr-check.yml

@ -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…
Cancel
Save