Skip to content

Commit beaa47e

Browse files
committed
base_sha
1 parent 3dbd0d9 commit beaa47e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/preview-builds.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ jobs:
1919
# fetch-depth: 2
2020

2121
- name: Run preview builds
22+
env:
23+
PR_SHA: ${{ github.event.pull_request.head.sha }}
24+
GITHUB_SHA: ${{ github.sha }}
2225
uses: stainless-api/upload-openapi-spec-action/preview@v1
2326
with:
2427
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
2528
commit_message: ${{ github.event.head_commit.message }}
29+
base_sha: {PR_SHA:-$GITHUB_SHA}
2630
# base_sha: ${{ github.event.pull_request.base.sha }}
2731
org: togethercomputer
2832
project: togetherai

0 commit comments

Comments
 (0)