Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 5, 2025

Description

Addresses review feedback from @AliSoftware: The uppercase PULL_REQUEST_NUMBER incorrectly uses Ruby constant naming convention for a value that changes per PR run. True constants like FIREBASE_APP_ID never change across runs—this value does.

Changed to lowercase pull_request_number to reflect it's a runtime variable, not a constant. Moved the variable definition to the top of the Fastfile so lanes declared after it can read and access it.

Test Steps

Syntax validation only—no behavioral changes:

ruby -c fastlane/Fastfile  # Syntax OK

Screenshots

N/A - No UI changes.


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@dangermattic
Copy link
Collaborator

dangermattic commented Dec 5, 2025

1 Error
🚫 PR requires at least one label.

Generated by 🚫 Danger

Copilot AI changed the title [WIP] Fix naming convention for pull_request_number Rename PULL_REQUEST_NUMBER to pull_request_number Dec 5, 2025
Copilot AI requested a review from mokagio December 5, 2025 00:34
Copilot finished work on behalf of mokagio December 5, 2025 00:34
Copilot finished work on behalf of mokagio December 5, 2025 00:55
@mokagio mokagio marked this pull request as ready for review December 5, 2025 01:12
@mokagio mokagio merged commit 66961b3 into ainfra-1614-build-wc-ios-prototypes-from-trunk Dec 5, 2025
8 of 11 checks passed
@mokagio mokagio deleted the copilot/sub-pr-16432 branch December 5, 2025 01:12
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.

4 participants