Skip to content

fix: trying release with an app - #6

Merged
MichielDean merged 7 commits into
mainfrom
releasePermissions
Oct 26, 2025
Merged

fix: trying release with an app#6
MichielDean merged 7 commits into
mainfrom
releasePermissions

Conversation

@MichielDean

@MichielDean MichielDean commented Oct 26, 2025

Copy link
Copy Markdown
Owner

This pull request updates the authentication method used in the release workflow to improve security and align with GitHub best practices. Instead of using a personal access token, the workflow now generates a GitHub App token for all authentication steps.

Authentication improvements:

  • Added a step to generate a GitHub App token using the actions/create-github-app-token@v1 action, replacing the previous use of a personal access token for authentication in the release workflow (.github/workflows/release.yml).
  • Updated the Checkout repository and Run semantic-release steps to use the newly generated GitHub App token instead of the personal access token (.github/workflows/release.yml). [1] [2]

MichielDean and others added 6 commits October 25, 2025 20:41
Remove @semantic-release/git plugin so version bumps aren't committed back to main, eliminating the need for branch protection bypass. Tags and releases are still created normally.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Move verifyConditionsCmd and prepareCmd to @semantic-release/exec plugin where they belong, and remove duplicate @semantic-release/github declaration.
Replace PAT with GitHub App authentication using actions/create-github-app-token. This allows the fostersquirrel-release-bot app to bypass branch protection while keeping manual pushes protected.
Copilot AI review requested due to automatic review settings October 26, 2025 17:55
@MichielDean
MichielDean enabled auto-merge (squash) October 26, 2025 17:55

Copilot AI 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.

Pull Request Overview

This PR updates the GitHub release workflow to use GitHub App authentication instead of the default GITHUB_TOKEN, enabling elevated permissions for the semantic release process.

Key changes:

  • Replaced GITHUB_TOKEN with GitHub App token for authenticated operations
  • Added documentation for the automated pull request workflow process

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Integrates GitHub App token generation for authentication in the release workflow
.github/instructions/copilot.instructions.md Removes redundant integration characteristic and adds PR workflow guidelines

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MichielDean
MichielDean merged commit 61866be into main Oct 26, 2025
1 check passed
@MichielDean
MichielDean deleted the releasePermissions branch October 26, 2025 18:06
fostersquirrel-release-bot Bot pushed a commit that referenced this pull request Oct 26, 2025
## 1.0.0 (2025-10-26)

### 🐛 Bug Fixes

* **ci:** use absolute paths for release script checksum steps ([#4](#4)) ([4043558](4043558))
* more release fixes... ([#3](#3)) ([6fc18d6](6fc18d6))
* node version for release ([#2](#2)) ([6a4cf90](6a4cf90))
* specific permissions to bypass the release ([#5](#5)) ([312aa4f](312aa4f))
* trying release with an app ([#6](#6)) ([61866be](61866be))
@fostersquirrel-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants