File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 runs-on : ${{ github.repository == 'stainless-sdks/openai-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2222 if : (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323 steps :
24- - uses : actions/checkout@v6
24+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2525
2626 - name : Install Rye
2727 run : |
4646 id-token : write
4747 runs-on : ${{ github.repository == 'stainless-sdks/openai-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4848 steps :
49- - uses : actions/checkout@v6
49+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5050
5151 - name : Install Rye
5252 run : |
6767 github.repository == 'stainless-sdks/openai-python' &&
6868 !startsWith(github.ref, 'refs/heads/stl/')
6969 id : github-oidc
70- uses : actions/github-script@v8
70+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
7171 with :
7272 script : core.setOutput('github_token', await core.getIDToken());
7373
8787 runs-on : ${{ github.repository == 'stainless-sdks/openai-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
8888 if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
8989 steps :
90- - uses : actions/checkout@v6
90+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
9191
9292 - name : Install Rye
9393 run : |
@@ -110,7 +110,7 @@ jobs:
110110 if : github.repository == 'openai/openai-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
111111
112112 steps :
113- - uses : actions/checkout@v6
113+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
114114
115115 - name : Install Rye
116116 run : |
Original file line number Diff line number Diff line change 1414 environment : publish
1515
1616 steps :
17- - uses : actions/checkout@v6
17+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1818
19- - uses : stainless-api/trigger-release-please@v1
19+ - uses : stainless-api/trigger-release-please@bb6677c5a04578eec1ccfd9e1913b5b78ed64c61 # v1
2020 id : release
2121 with :
2222 repo : ${{ github.event.repository.full_name }}
Original file line number Diff line number Diff line change 1515 run : |
1616 echo "FETCH_DEPTH=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_ENV
1717
18- - uses : actions/checkout@v6
18+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1919 with :
2020 # Ensure we can check out the pull request base in the script below.
2121 fetch-depth : ${{ env.FETCH_DEPTH }}
4545 if : github.repository == 'openai/openai-python'
4646 steps :
4747 # Setup this sdk
48- - uses : actions/checkout@v4
48+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4949 with :
5050 path : openai-python
5151
@@ -64,13 +64,13 @@ jobs:
6464 rye sync --all-features
6565
6666 # Setup the agents lib
67- - uses : actions/checkout@v4
67+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6868 with :
6969 repository : openai/openai-agents-python
7070 path : openai-agents-python
7171
7272 - name : Setup uv
73- uses : astral-sh/setup-uv@v5
73+ uses : astral-sh/setup-uv@e58605a9b6da7c637471fab8847a5e5a6b8df081 # v5
7474 with :
7575 enable-cache : true
7676
Original file line number Diff line number Diff line change 1111 environment : publish
1212
1313 steps :
14- - uses : actions/checkout@v6
14+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1515
1616 - name : Install Rye
1717 run : |
Original file line number Diff line number Diff line change 1313 if : github.repository == 'openai/openai-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1414
1515 steps :
16- - uses : actions/checkout@v6
16+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1717
1818 - name : Check release environment
1919 run : |
You can’t perform that action at this time.
0 commit comments