Skip to content

Commit

Permalink
Fix CI to work on forked repo
Browse files Browse the repository at this point in the history
  • Loading branch information
duck-rh committed Sep 2, 2024
1 parent f9569c0 commit bec39b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
# first load the base branch
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
# and then the PR commit
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: OSAS/dns4tenants-validation@main

0 comments on commit bec39b6

Please sign in to comment.