aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/openapi.yml
diff options
context:
space:
mode:
authorNiels van Velzen <git@ndat.nl>2021-11-05 22:12:43 +0100
committerNiels van Velzen <git@ndat.nl>2021-11-05 22:12:43 +0100
commit2491dd513c2bbbc136e33b41043c7b60aa407ca9 (patch)
treed5c9c4762dbe7ca67da9d2f4e58c062136ec81cf /.github/workflows/openapi.yml
parentb64d9bcd401d68e12b7e0ef2e2fdb55b895e211a (diff)
Specify repository info in openapi head checkout
Diffstat (limited to '.github/workflows/openapi.yml')
-rw-r--r--.github/workflows/openapi.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml
index b81875d2c..798ce5898 100644
--- a/.github/workflows/openapi.yml
+++ b/.github/workflows/openapi.yml
@@ -13,7 +13,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
- ref: ${{ github.head_ref }}
+ ref: ${{ github.event.pull_request.head.ref }}
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with: