aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2022-02-19 17:36:53 +0100
committerGitHub <noreply@github.com>2022-02-19 17:36:53 +0100
commit6a8a6a1325031dd3266c879540fcdc69133ba956 (patch)
tree94be39d0c92d4931742987e9c46f67017e66a587 /.github/workflows
parentb92e1baa3c28870f49f82bfef9e48cd79b9b24c6 (diff)
Use sha hash instead of branch name for OpenAPI workflow head reference (#7340)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/openapi.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml
index 3e9346840..eb2e98070 100644
--- a/.github/workflows/openapi.yml
+++ b/.github/workflows/openapi.yml
@@ -14,7 +14,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
- ref: ${{ github.event.pull_request.head.ref }}
+ ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Setup .NET Core
uses: actions/setup-dotnet@v1