Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[ci] build: reduce confusion in compilation by renaming things#29826

Merged
iBotPeaches merged 5 commits into
masterfrom
refactor-flags
Dec 26, 2025
Merged

[ci] build: reduce confusion in compilation by renaming things#29826
iBotPeaches merged 5 commits into
masterfrom
refactor-flags

Conversation

@iBotPeaches
Copy link
Copy Markdown
Member

@iBotPeaches iBotPeaches commented Dec 21, 2025

Reduce Confusion

  1. verify_env_variables checks for RubyGem creds which isn't needed anymore in GHA flow. I split this out into its own lane called verify_ruby_gem_credentials
  2. validate_repo calls execute_tests which builds the gem. This is so confusing. We need a dedicated private lane for building the actual gem file.
  3. Another sh() hardening.

@iBotPeaches iBotPeaches force-pushed the refactor-flags branch 2 times, most recently from 05ad2ab to 088e675 Compare December 21, 2025 14:19
@iBotPeaches iBotPeaches changed the title build: reduce confusion in compilation by renaming things [ci] build: reduce confusion in compilation by renaming things Dec 21, 2025
@iBotPeaches iBotPeaches requested a review from Copilot December 21, 2025 15:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 refactors the build and validation workflow to reduce confusion by:

  1. Splitting verify_env_variables into two separate functions, separating GitHub credentials from RubyGem credentials
  2. Extracting gem building logic into a dedicated build_fastlane_gem private lane
  3. Continuing the sh() command hardening effort by using separate arguments instead of shell strings

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

Comment thread fastlane/Fastfile Outdated
Comment thread fastlane/Fastfile
Comment thread fastlane/Fastfile Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Comment thread fastlane/Fastfile Outdated
Comment thread fastlane/Fastfile Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Comment thread fastlane/Fastfile Outdated
Comment thread fastlane/Fastfile Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Comment thread fastlane/Fastfile
Comment thread fastlane/Fastfile
@iBotPeaches iBotPeaches merged commit aab1829 into master Dec 26, 2025
20 checks passed
@iBotPeaches iBotPeaches deleted the refactor-flags branch December 26, 2025 10:53
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Hey @iBotPeaches 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a month, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀"

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Congratulations! 🎉 This was released as part of fastlane 2.231.0 🚀

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants