소스 검색

Use sha hash instead of branch name for OpenAPI workflow head reference (#7340)

Niels van Velzen 3 년 전
부모
커밋
6a8a6a1325
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/workflows/openapi.yml

+ 1 - 1
.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