Skip to content

ci: migrate to semantic-pr-release-drafter and auto-publish on push to main - #20

Merged
aaronsteers merged 7 commits into
mainfrom
devin/1789778065-auto-publish-releases
Sep 19, 2026
Merged

aaronsteers merged 7 commits into
mainfrom
devin/1789778065-auto-publish-releases

Conversation

@aaronsteers

@aaronsteers aaronsteers commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Overview

👉 TL;DR: Every merge to main now publishes a GitHub release automatically instead of leaving a draft waiting for a human click. The floating v<major> tag is no longer maintained; consumers should pin an exact version.

Specifically, this sets publish: true on aaronsteers/semantic-pr-release-drafter@v2.4.4, gated only by a dry-run workflow_dispatch input, and migrates from the label-based release-drafter to semantic-pr-release-drafter.

Requested by AJ Steers as part of enabling auto-publish across the GitHub Actions repos.

Changes

  • Replace release-drafter/release-drafter@v6.0.0 with aaronsteers/semantic-pr-release-drafter@v2.4.4 (semantic PR titles drive versioning; no label config needed)
  • Delete the now-unused label-based .github/release-drafter.yml
  • Add a workflow_dispatch trigger so the draft can be refreshed manually
  • Drop the top-level permissions: contents: read and disable-autolabeler; the job-level contents: write / pull-requests: write matches the other Actions repos
  • Pass publish: true so every run publishes; a dry-run workflow_dispatch input (default false) computes the next version without creating or publishing a release when checked
  • Delete update-major-tags.yml — floating v<major> tags are intentionally dropped in favor of pinning exact vX.Y.Z versions (or SHAs)
  • Job renamed to Create Release

Review Spotlight

Reviewers with limited time, please review first:

Risks

  • Every push to main produces a published release (at least a patch bump), same policy as semantic-pr-release-drafter's own repo. Manual workflow_dispatch runs publish too unless dry-run is checked.
  • Existing v<major> tags stay where they are and will go stale; README usage examples referencing @v1 need updating (follow-up).

Test plan

  • actionlint .github/workflows/release-drafter.yml — clean
  • YAML parsed with PyYAML
  • Not exercised end to end; the first merge to main after 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

Co-Authored-By: AJ Steers <aj@airbyte.io>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

devin-ai-integration Bot and others added 6 commits September 19, 2026 00:42
…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>
@aaronsteers
aaronsteers marked this pull request as ready for review September 19, 2026 03:35
@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Running poe test-success...

Link to job logs.

🟦 Poe command test-success completed successfully.

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Running poe test...

Link to job logs.

❌ Poe command test failed. Please inspect the logs.

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Running poe test-fail-with-summary...

Link to job logs.

❌ Poe command test-fail-with-summary failed. Please inspect the logs.

✴️ Show/Hide Summary Output

Test Results

This is a test of the GITHUB_STEP_SUMMARY feature.

  • ✅ Item 1: Success
  • ✅ Item 2: Success
  • 😵 Item 3: Failure!!

ERROR: Something bad happened ☠️

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Running poe test-success-with-summary...

Link to job logs.

🟦 Poe command test-success-with-summary completed successfully.

✳️ Show/Hide Summary Output

Test Results

This is a test of the GITHUB_STEP_SUMMARY feature.

  • ✅ Item 1: Success
  • ✅ Item 2: Success
  • ✅ Item 3: Success

Status: All tests passed! 🎉

@aaronsteers
aaronsteers merged commit 213ef69 into main Sep 19, 2026
6 of 8 checks passed
@aaronsteers
aaronsteers deleted the devin/1789778065-auto-publish-releases branch September 19, 2026 03:35

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

permissions:
contents: write
pull-requests: read
pull-requests: write

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟨 Unnecessary PR write permission

The release job grants pull-requests: write to an action that only reads PR metadata. Compromised action code can modify repository pull requests.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant