updates to release process - #941
Open
shrutiburman wants to merge 37 commits into
Open
Conversation
Co-authored-by: semgrep-code-twilio[bot] <242513856+semgrep-code-twilio[bot]@users.noreply.github.com>
Updated the runs-on condition to use 'ubuntu-x64' for both test and deploy-dry-run jobs.
Comment out aiohttp dependency in setup.py
Comment out the aiohttp-retry dependency in setup.py
…o-python into dummy-gated-release
twilio-dx
force-pushed
the
dummy-gated-release
branch
from
July 27, 2026 11:22
8ea067d to
c56c9fd
Compare
manisha1997
previously approved these changes
Jul 27, 2026
…ummy-gated-release
twilio-dx
force-pushed
the
dummy-gated-release
branch
from
July 30, 2026 06:34
e9bf528 to
35db398
Compare
shrutiburman
commented
Jul 30, 2026
| - name: Create GitHub Release | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: gh release create "${{ github.ref_name }}" --generate-notes |
Contributor
Author
There was a problem hiding this comment.
We should be using uses: sendgrid/dx-automator/actions/release@main release here but that is currently blocked
Tradeoff-
gh release create --generate-notes: auto-generates notes from PR titles and commit messages since the last tag. No changelog file involved.
dx-automator/actions/release: reads CHANGES.md (or CHANGELOG.md) in the repo, finds the section matching the release version, and uses that as the release body. So the release notes on GitHub match exactly what's written in the changelog file.
shrutiburman
commented
Jul 30, 2026
| run: echo "GITHUB_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
|
|
||
| - name: Create GitHub Release | ||
| uses: sendgrid/dx-automator/actions/release@08b601b726671445abc798ed59881766ec8fefc6 |
Contributor
Author
There was a problem hiding this comment.
test run
throws exception from inside the action, as expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/twilio/twilio-python/actions/runs/30338829496/job/90209602082?pr=941
Migrate PyPI publishing to OIDC trusted publishing
New Release flow-
deploy.yml — New release workflow (replaces test-and-deploy.yml's publish path)
.github/workflows/ci.yml— Weekly pre-release readiness check
Also in this PR
ecosystem: python
Prerequisites (before first real release)
workflow: deploy.yml, environment: production)
Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.