Skip to content

ci: improve release workflow and CI validation#1291

Merged
rfgamaral merged 2 commits intomainfrom
ricardo/improve-release-workflow
Apr 8, 2026
Merged

ci: improve release workflow and CI validation#1291
rfgamaral merged 2 commits intomainfrom
ricardo/improve-release-workflow

Conversation

@rfgamaral
Copy link
Copy Markdown
Member

@rfgamaral rfgamaral commented Apr 8, 2026

Overview

Aligns Typist's release and CI workflows with the improvements recently made in Reactist (ref1, ref2), while preserving Typist-specific next branch support.

The main change is switching from a user PAT (GH_REPO_TOKEN) to a GitHub App token (Doist Release Bot) for the release workflow. This ensures semantic-release can push release commits past branch rulesets on main, which was migrated from legacy branch protection rules to rulesets as part of this work.

PR Checklist

Test plan

The release workflow will be validated on the next push to main after merge. The CI validation changes can be verified by checking that this PR's own CI passes.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 8, 2026

Deploy Preview for doist-typist ready!

Name Link
🔨 Latest commit 2a56a47
🔍 Latest deploy log https://app.netlify.com/projects/doist-typist/deploys/69d6484b4e79710008616d07
😎 Deploy Preview https://deploy-preview-1291--doist-typist.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rfgamaral rfgamaral self-assigned this Apr 8, 2026
@rfgamaral rfgamaral added the 👀 Show PR Used for PRs that need a review, but can be merged when CI is green. label Apr 8, 2026
@rfgamaral rfgamaral marked this pull request as ready for review April 8, 2026 11:35
Copy link
Copy Markdown
Member

@doistbot doistbot left a comment

Choose a reason for hiding this comment

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

This PR updates the release and CI workflows to align with recent Reactist improvements, notably transitioning to a GitHub App token for semantic-release operations. These changes nicely improve the maintainability and reliability of the deployment pipeline by accommodating the new branch rulesets. A minor adjustment was noted regarding workflow permissions, suggesting a reduction of the default token privileges to better enforce the principle of least privilege now that the App token handles write operations.

Share FeedbackReview Logs

semantic-release now uses the GitHub App token for all write
operations, so the workflow's default GITHUB_TOKEN only needs
id-token (OIDC provenance) and packages (GitHub Packages publish).
@rfgamaral rfgamaral requested review from a team and rmartins90 and removed request for a team April 8, 2026 12:22
@rfgamaral rfgamaral merged commit 9e71b30 into main Apr 8, 2026
9 checks passed
@rfgamaral rfgamaral deleted the ricardo/improve-release-workflow branch April 8, 2026 12:23
@doist-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 10.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@doist-release-bot doist-release-bot bot added the released Pull requests that have been released to production label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Pull requests that have been released to production 👀 Show PR Used for PRs that need a review, but can be merged when CI is green.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants