diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index 237c5295e..a9994eb13 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -443,6 +443,7 @@ jobs: poetry export --without-hashes --dev -o requirements_dev.txt fi if [ ! -f requirements_dev.txt ]; then echo no requirements;exit 0 ;fi + git config --global url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf https://github.com pip install -r requirements_dev.txt - name: Create directories run: | @@ -491,6 +492,7 @@ jobs: poetry export --without-hashes --dev -o requirements_dev.txt fi if [ ! -f requirements_dev.txt ]; then echo no requirements;exit 0 ;fi + git config --global url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf https://github.com pip install -r requirements_dev.txt - name: Create directories run: | @@ -571,7 +573,9 @@ jobs: ${{ runner.os }}-pip- - name: Install deps if: ${{ steps.checklibs.outputs.ENABLED == 'true' }} - run: pip install -r requirements_dev.txt + run: | + git config --global url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf https://github.com + pip install -r requirements_dev.txt - name: Semantic Release Get Next id: semantic if: github.event_name != 'pull_request' @@ -701,7 +705,9 @@ jobs: key: ${{ runner.os }}-pip-python3_9-${{ hashFiles('requirements_dev.txt') }} restore-keys: | ${{ runner.os }}-pip-python3_9 - - run: pip install -r requirements_dev.txt + - run: | + git config --global url."https://${{ secrets.GH_TOKEN_ADMIN }}@github.com".insteadOf https://github.com + pip install -r requirements_dev.txt - id: semantic if: github.event_name != 'pull_request' uses: splunk/semantic-release-action@v1.3