feat(ci): implement signed commit via GitHub API in release process#97
Merged
feat(ci): implement signed commit via GitHub API in release process#97
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR implements signed, verified commits for the CI release process by using the GitHub API instead of local git commands. This ensures commits are signed by GitHub and linked to the GitHub App, improving security and traceability.
Changes:
- Replaced local git commit/push workflow with GitHub API-based commit creation using Octokit
- Added new
_commit_and_tag_version_signedprivate lane that creates commits via GitHub API - Removed git configuration step from CI workflow since commits are now created via API
- Added
octokitgem and its dependencies to handle GitHub API interactions
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
fastlane/lanes/release.rb |
Updated release_beta_ci lane to use new signed commit function and updated documentation |
fastlane/lanes/git.rb |
Added _commit_and_tag_version_signed function with GitHub API integration and extracted VERSION_BUMP_FILES constant |
Gemfile |
Added octokit gem dependency |
Gemfile.lock |
Added octokit and sawyer dependencies with version constraints |
.github/workflows/release-beta.yml |
Removed git configuration step and added RELEASE_BOT_TOKEN environment variable |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.