

To learn more, please check out our sponsorship page. Arrays can be passed as a comma delimited string (e.g. Lottie is made possible because of our supporters on GitHub Sponsors and Open Collective. It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. To pass parameters, make use of the : symbol, for example fastlane run create_pull_request parameter1:"value1" parameter2:"value2" To do so, you can run the following command from your terminal fastlane run create_pull_request It is recommended to add the above action into your Fastfile, however sometimes you might want to run one-offs. Docpress, CraftCMS, Bookdown, OpenCart, Composer, OpenFOAM, CakePHP3, Exercism, fastlane, Firebase, Magento2. To show the documentation in your terminal, run fastlane action create_pull_request To get more information check the Lanes documentation. The identifier number of the created pull request SharedValues::CREATE_PULL_REQUEST_HTML_URL

The create_pull_request action generates the following Lane Variables: SharedValue * = default value is dependent on the user's systemĪctions can communicate with each other using a shared hash lane_context, that can be accessed in other actions, plugins or your lanes: lane_context. The team reviewers (slug) for the pull request The reviewers (slug) for the pull request The URL of GitHub API - used when the Enterprise (default to ) The name of the branch you want your changes pulled into (defaults to master)

The name of the branch where your changes are implemented (defaults to the current branch name) The milestone ID (Integer) for the pull request Indicates whether the pull request is a draft The name of the repository you want to submit the pull request to First create a Gemfile in the root of your project with the following content: source ' gem 'fastlane' Add a workflow yaml file to your repository. GitHub Actions GITHUB_TOKEN environment variable Use GitHub Actions runner running on a macOS machine to build using fastlane. Personal API Token for GitHub - generate one at Head: "my-feature", # optional, defaults to current branch nameīase: "master", # optional, defaults to "master"Īpi_url: " # optional, for GitHub Enterprise, defaults to "" Ios, android, pull request URL when successfulĪpi_token: "secret", # optional, defaults to ENV This will create a new pull request on GitHub create_pull_request
