|
|
|
@ -16,12 +16,12 @@ jobs:
|
|
|
|
|
permissions: read-all
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
|
with:
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
|
|
|
- name: Setup .NET
|
|
|
|
|
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
|
|
|
|
|
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
|
|
|
|
|
with:
|
|
|
|
|
dotnet-version: '8.0.x'
|
|
|
|
|
- name: Generate openapi.json
|
|
|
|
@ -41,7 +41,7 @@ jobs:
|
|
|
|
|
permissions: read-all
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
|
with:
|
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
|
|
@ -55,7 +55,7 @@ jobs:
|
|
|
|
|
ANCESTOR_REF=$(git merge-base upstream/${{ github.base_ref }} origin/$HEAD_REF)
|
|
|
|
|
git checkout --progress --force $ANCESTOR_REF
|
|
|
|
|
- name: Setup .NET
|
|
|
|
|
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
|
|
|
|
|
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
|
|
|
|
|
with:
|
|
|
|
|
dotnet-version: '8.0.x'
|
|
|
|
|
- name: Generate openapi.json
|
|
|
|
|