File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4848 no-publish : ${{ !(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) }}
4949 secrets :
5050 TWINE_USERNAME : __token__
51- TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
51+ TWINE_PASSWORD : ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) && secrets.SVC_PYPI_TOKEN || secrets.SVC_PYPI_TEST_TOKEN }}
5252 SLACK_WEBHOOK : ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) && secrets.SVC_PYPI_TOKEN || secrets.SVC_PYPI_TEST_TOKEN }}
5353 SLACK_WEBHOOK_ADMIN : ${{ secrets.SLACK_WEBHOOK_ADMIN }}
5454 GH_TOKEN : ${{ secrets.PAT }}
Original file line number Diff line number Diff line change 7070 no-build-isolation : true
7171 app-id : ${{ vars.BOT_ID }}
7272 secrets :
73- TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
74- TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
73+ TWINE_USERNAME : __token__
74+ TWINE_PASSWORD : ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) && secrets.SVC_PYPI_TOKEN || secrets.SVC_PYPI_TEST_TOKEN }}
7575 SLACK_WEBHOOK_ADMIN : ${{ secrets.SLACK_WEBHOOK_ADMIN }}
7676 SLACK_WEBHOOK : ${{ secrets.SLACK_RELEASE_ENDPOINT }}
7777 PAT : ${{ secrets.PAT }}
You can’t perform that action at this time.
0 commit comments