ci: migrate to semantic-pr-release-drafter and auto-publish on push to main - #20
Conversation
Co-Authored-By: AJ Steers <aj@airbyte.io>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
…ag events Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
Co-Authored-By: AJ Steers <aj@airbyte.io>
|
|
✴️ Show/Hide Summary OutputTest ResultsThis is a test of the GITHUB_STEP_SUMMARY feature.
ERROR: Something bad happened ☠️ |
✳️ Show/Hide Summary OutputTest ResultsThis is a test of the GITHUB_STEP_SUMMARY feature.
Status: All tests passed! 🎉 |
There was a problem hiding this comment.
Devin Review found 1 potential issue.
1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
| permissions: | ||
| contents: write | ||
| pull-requests: read | ||
| pull-requests: write |
Overview
👉 TL;DR: Every merge to
mainnow publishes a GitHub release automatically instead of leaving a draft waiting for a human click. The floatingv<major>tag is no longer maintained; consumers should pin an exact version.Specifically, this sets
publish: trueonaaronsteers/semantic-pr-release-drafter@v2.4.4, gated only by adry-runworkflow_dispatchinput, and migrates from the label-basedrelease-draftertosemantic-pr-release-drafter.Requested by AJ Steers as part of enabling auto-publish across the GitHub Actions repos.
Changes
release-drafter/release-drafter@v6.0.0withaaronsteers/semantic-pr-release-drafter@v2.4.4(semantic PR titles drive versioning; no label config needed).github/release-drafter.ymlworkflow_dispatchtrigger so the draft can be refreshed manuallypermissions: contents: readanddisable-autolabeler; the job-levelcontents: write/pull-requests: writematches the other Actions repospublish: trueso every run publishes; adry-runworkflow_dispatchinput (defaultfalse) computes the next version without creating or publishing a release when checkedupdate-major-tags.yml— floatingv<major>tags are intentionally dropped in favor of pinning exactvX.Y.Zversions (or SHAs)Create ReleaseReview Spotlight
Reviewers with limited time, please review first:
release-drafter.yml#L29: thepublishinputRisks
mainproduces a published release (at least a patch bump), same policy assemantic-pr-release-drafter's own repo. Manualworkflow_dispatchruns publish too unlessdry-runis checked.v<major>tags stay where they are and will go stale; README usage examples referencing@v1need updating (follow-up).Test plan
actionlint .github/workflows/release-drafter.yml— cleanmainafter this lands is the live test (expect a published release).Link to Devin session: https://app.devin.ai/sessions/d2281166d33f4ed3acae6e7f4ac0f0bc
Open in Devin Desktop: https://app.devin.ai/desktop/session/d2281166d33f4ed3acae6e7f4ac0f0bc?variant=devin
Requested by: @aaronsteers