Skip to content

Commit 3fe3ef0

Browse files
committed
base_sha
1 parent beaa47e commit 3fe3ef0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/preview-builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
preview:
1010
if: github.event.action != 'closed'
1111
runs-on: ubuntu-latest
12+
env:
13+
PR_SHA: ${{ github.event.pull_request.head.sha }}
14+
GITHUB_SHA: ${{ github.sha }}
1215
permissions:
1316
contents: read
1417
pull-requests: write
@@ -19,14 +22,11 @@ jobs:
1922
# fetch-depth: 2
2023

2124
- name: Run preview builds
22-
env:
23-
PR_SHA: ${{ github.event.pull_request.head.sha }}
24-
GITHUB_SHA: ${{ github.sha }}
2525
uses: stainless-api/upload-openapi-spec-action/preview@v1
2626
with:
2727
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
2828
commit_message: ${{ github.event.head_commit.message }}
29-
base_sha: {PR_SHA:-$GITHUB_SHA}
29+
base_sha: ${PR_SHA:-$GITHUB_SHA}
3030
# base_sha: ${{ github.event.pull_request.base.sha }}
3131
org: togethercomputer
3232
project: togetherai

0 commit comments

Comments
 (0)