99 - staging
1010permissions :
1111 contents : read
12- env :
13- # Duplicate these values for the `wiki` job below!
14- ARTIFACT_NAME : artifact-ubuntu-latest-python-3.11
15- # This is the username and email for the user who commits and pushes the release
16- # commit. In an organisation that should be a dedicated devops account.
17- USER_NAME : jenstroeger
18- USER_EMAIL : jenstroeger@users.noreply.github.com
1912
2013jobs :
2114 check :
2417 permissions :
2518 contents : read
2619 with :
27- disable_pip_audit : ${{ vars.DISABLE_PIP_AUDIT == 'true' }}
20+ disable-pip-audit : ${{ vars.DISABLE_PIP_AUDIT == 'true' }}
2821
2922 # On pushes to the 'main' branch create a new release by bumping the version
3023 # and generating a change log. That's the new bump commit and associated tag.
6356 git config --global user.name "$USER_NAME"
6457 git config --global user.email "$USER_EMAIL"
6558 git config --list --global # For debug purposes.
59+ env :
60+ # This is the username and email for the user who commits and pushes the release
61+ # commit. In an organisation that should be a dedicated devops account.
62+ USER_NAME : jenstroeger
63+ USER_EMAIL : jenstroeger@users.noreply.github.com
6664
6765 # In some cases a user may merge commits that don't cause a version bump, which causes commitizen
6866 # to fail with error code 21 (NoneIncrementExit). Thus we silence that particular error to avoid
8280 permissions :
8381 contents : read
8482 with :
85- disable_pip_audit : ${{ vars.DISABLE_PIP_AUDIT == 'true' }}
83+ disable-pip-audit : ${{ vars.DISABLE_PIP_AUDIT == 'true' }}
8684
8785 # Create a new Release on Github from the verified build artifacts, and optionally
8886 # publish the artifacts to a PyPI server.
@@ -111,7 +109,7 @@ jobs:
111109 - name : Download artifact
112110 uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
113111 with :
114- name : ${{ env.ARTIFACT_NAME }}
112+ name : artifact-ubuntu-latest-python-3.11
115113 path : dist
116114
117115 # Verify hashes by first computing hashes for the artifacts and then comparing them
@@ -229,9 +227,9 @@ jobs:
229227 permissions :
230228 contents : read
231229 with :
232- repo_name : ${{ github.event.repository.name }}
233- release_tag : ${{ needs.release.outputs.release-tag }}
234- release_url : ${{ needs.release.outputs.release-url }}
230+ repo-name : ${{ github.event.repository.name }}
231+ release-tag : ${{ needs.release.outputs.release-tag }}
232+ release-url : ${{ needs.release.outputs.release-url }}
235233 secrets :
236234 SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
237235
@@ -245,14 +243,14 @@ jobs:
245243 permissions :
246244 contents : read
247245 with :
248- release_tag : ${{ needs.release.outputs.release-tag }}
249- release_url : ${{ needs.release.outputs.release-url }}
246+ release-tag : ${{ needs.release.outputs.release-tag }}
247+ release-url : ${{ needs.release.outputs.release-url }}
250248 # Github disallows passing environment variables as arguments to a reusable
251249 # workflow, so we have to duplicate these values here. Related discussion
252250 # here: https://github.com/actions/toolkit/issues/931
253- artifact_name : artifact-ubuntu-latest-python-3.11
254- git_user_name : jenstroeger
255- git_user_email : jenstroeger@users.noreply.github.com
251+ artifact-name : artifact-ubuntu-latest-python-3.11
252+ git-user-name : jenstroeger
253+ git-user-email : jenstroeger@users.noreply.github.com
256254 secrets :
257255 REPO_ACCESS_TOKEN : ${{ secrets.REPO_ACCESS_TOKEN }}
258256
@@ -267,9 +265,9 @@ jobs:
267265 permissions :
268266 contents : read
269267 with :
270- to_head : staging
271- from_base : origin/main
272- git_user_name : jenstroeger
273- git_user_email : jenstroeger@users.noreply.github.com
268+ to-head : staging
269+ from-base : origin/main
270+ git-user-name : jenstroeger
271+ git-user-email : jenstroeger@users.noreply.github.com
274272 secrets :
275273 REPO_ACCESS_TOKEN : ${{ secrets.REPO_ACCESS_TOKEN }}
0 commit comments