File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ echo "$CHANGELOG"
173
173
# and https://github.com/github/docs/issues/21529#issue-1418590935
174
174
FILTERED_CHANGELOG=` echo " $CHANGELOG " | grep -v " \\ [INFO\\ ]" `
175
175
echo " changelog<<CHANGELOGEOF" >> $GITHUB_OUTPUT
176
- echo " $FILTERED_CHANGELOG " >> $GITHUB_OUTPUT
176
+ echo -e " $FILTERED_CHANGELOG " >> $GITHUB_OUTPUT
177
177
echo " CHANGELOGEOF" >> $GITHUB_OUTPUT
178
178
179
179
Original file line number Diff line number Diff line change 92
92
startsWith(github.event.pull_request.title, '[chore] Release ')
93
93
94
94
runs-on : ubuntu-latest
95
+ permissions :
96
+ # Used to create a short-lived OIDC token which is given to PyPi to identify this workflow job
97
+ # See: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings
98
+ # and https://docs.pypi.org/trusted-publishers/using-a-publisher/
99
+ id-token : write
95
100
96
101
steps :
97
102
- name : Checkout source for publish
@@ -116,10 +121,7 @@ jobs:
116
121
--notes "${{ steps.preflight.outputs.changelog }}"
117
122
118
123
- name : Publish to Pypi
119
-
120
- with :
121
- user : firebase
122
- password : ${{ secrets.PYPI_PASSWORD }}
124
+ uses : pypa/gh-action-pypi-publish@release/v1
123
125
124
126
# Post to Twitter if explicitly opted-in by adding the label 'release:tweet'.
125
127
- name : Post to Twitter
You can’t perform that action at this time.
0 commit comments