8000 chore: setup ci for PRs from forks · rx-angular/rx-angular@191e40a · GitHub
[go: up one dir, main page]

Skip to content

Commit 191e40a

Browse files
committed
chore: setup ci for PRs from forks
1 parent 25519a0 commit 191e40a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
name: Checkout [pr]
6363
if: github.ref != 'refs/heads/master'
6464
with:
65-
ref: $GITHUB_REF
65+
ref: ${{ github.event.pull_request.head.ref }}
66+
repository: ${{github.event.pull_request.head.repo.full_name}}
6667
fetch-depth: 0
6768

6869
- name: Derive appropriate SHAs for base and head for `nx affected` commands

0 commit comments

Comments
 (0)
0