fix: ce spec action for PRs from forks (#4587)

CE spec action was failing for PRs from external forks at the checkout stage. This PR modifies the checkout action to use the full repo name and branch.

#4586
This commit is contained in:
Vishnu Narayanan
2022-04-29 14:38:10 +05:30
committed by GitHub
parent b5e0921d0d
commit 45099f40f1

View File

@@ -42,7 +42,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: ruby/setup-ruby@v1
with: