File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ inputs:
1818 default : ' 3.13'
1919 index-username :
2020 description : ' Username for the PyPI index'
21- default : ' __token__ '
21+ default : ' '
2222 index-token :
2323 description : ' Auth token for the PyPI index'
2424 default : ' '
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ registries:
33 sap-artifactory :
44 type : python-index
55 url : https://common.repositories.cloud.sap/artifactory/api/pypi/build.releases.pypi/
6- token : ${{secrets.ARTIFACTORY_TOKEN}}
6+ username : ${{secrets.ARTIFACTORY_USERNAME}}
7+ password : ${{secrets.ARTIFACTORY_TOKEN}}
78 replaces-base : true
89updates :
910 - package-ecosystem : uv
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 permissions :
1111 contents : read
12- if : github.event.pull_request.head.repo.fork == false && github.event.pull_request.user.login != 'dependabot[bot]'
12+ if : github.event.pull_request.head.repo.fork == false
1313
1414 steps :
1515 - name : Generate GitHub App token
2626 token : ${{ steps.app-token.outputs.token }}
2727 persist-credentials : true
2828 ref : ${{ github.head_ref }}
29+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
2930 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
3031
3132 - name : Configure git
Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : SAP/ai-sdk-python/.github/actions/setup@main
2323 with :
24+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
2425 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
2526
2627 - name : Run pylint
5354 - uses : SAP/ai-sdk-python/.github/actions/setup@main
5455 with :
5556 python-version : ${{ matrix.python-version }}
57+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
5658 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
5759
5860 - name : Run unit tests with coverage
7779 steps :
7880 - uses : SAP/ai-sdk-python/.github/actions/setup@main
7981 with :
82+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
8083 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
8184
8285 - name : Run base integration tests
@@ -112,6 +115,7 @@ jobs:
112115 steps :
113116 - uses : SAP/ai-sdk-python/.github/actions/setup@main
114117 with :
118+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
115119 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
116120
117121 - name : Run core integration tests
@@ -152,6 +156,7 @@ jobs:
152156 steps :
153157 - uses : SAP/ai-sdk-python/.github/actions/setup@main
154158 with :
159+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
155160 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
156161
157162 - name : Run gen integration tests
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ jobs:
1515 id-token : write
1616 contents : read
1717 env :
18- UV_INDEX_ARTIFACTORY_TOKEN : ${{ secrets.ARTIFACTORY_TOKEN }}
18+ UV_INDEX_ARTIFACTORY_USERNAME : ${{ secrets.ARTIFACTORY_USERNAME }}
19+ UV_INDEX_ARTIFACTORY_PASSWORD : ${{ secrets.ARTIFACTORY_TOKEN }}
1920
2021 steps :
2122 - uses : SAP/ai-sdk-python/.github/actions/setup@main
2223 with :
2324 fetch-depth : 0
25+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
2426 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
2527
2628 - name : Bump versions
Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : SAP/ai-sdk-python/.github/actions/setup@main
1616 with :
17+ index-username : ${{ secrets.ARTIFACTORY_USERNAME }}
1718 index-token : ${{ secrets.ARTIFACTORY_TOKEN }}
1819
1920 - name : Tear down integration test environment
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ class CredentialsValue:
2121after os-migration PR is merged:
2222
2323- [ ] create initial version tags (and delete old incorrect ones)
24- - [x ] use setup action from main not os-migration
24+ - [ ] use setup action from main not os-migration
2525- [ ] update gen version + release notes after internal version is published
You can’t perform that action at this time.
0 commit comments