File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments