ci: Fix wrong ref in PR workflows which broke external builds (#7431)
Github issue / Community forum post (link here to close automatically): #7423 This PR updates reference passed to the `checkout` action by the `cy-pull-request.ym`. This should fix three existing issues: - Failing unit tests for external pull requests - Failing e2e tests for external PRs - Passing empty `ref` to `lint` job which makes linter run on a wrong branch
This commit is contained in:
committed by
GitHub
parent
ec141416e2
commit
1fb5166376
2
.github/workflows/e2e-tests-pr.yml
vendored
2
.github/workflows/e2e-tests-pr.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
uses: ./.github/workflows/e2e-reusable.yml
|
||||
if: ${{ github.event.review.state == 'approved' && !contains(github.event.pull_request.labels.*.name, 'community') }}
|
||||
with:
|
||||
branch: ${{ github.event.pull_request.head.ref }}
|
||||
pr_number: ${{ github.event.pull_request.number }}
|
||||
user: ${{ github.event.pull_request.user.login || 'PR User' }}
|
||||
spec: 'e2e/*'
|
||||
secrets:
|
||||
|
||||
Reference in New Issue
Block a user