File reference
This page explains how a configuration file works, and what each part of it is for.
For how to export, plan and apply a file, see Configuration as code. For step-by-step examples, see Examples.
How the file works
The shape of a file
Only version and app are required. Every other section is optional.
What you leave out stays as it is
The file describes changes, not the whole app. Anything the file doesn't mention keeps its current value. This file only renames the app, and leaves everything else alone:
So you can keep a small file with just the settings you want to manage, or keep a full export in your repository, whichever suits you.
Clearing a value
Leaving a value out keeps it, so clearing is explicit: write its empty value.
null is accepted wherever a value can be cleared. Your editor flags the places it isn't.
Keys: how the file refers to things
Destinations, integrations, steps, tags, branches, health metrics, feature affiliations and checklist items are keyed by stable keys: names starting with $, using lowercase letters, numbers and _.
On export, Runway generates a key from each entry's name, like
$release_candidate_iosfor "Release candidate (iOS)". Tags and branches start with their kind:$tag_default,$branch_default.Once an entry exists, its key stays the same even when you rename it in the file or in Runway, so references never break.
When you add an entry, you choose its key. Runway keeps it from then on.
Keys are unique across the whole file: a step and an integration can't both be
$github.Changing a key in the file means removing that entry and adding a new one.
What gets checked
Planning checks the entries your file changes, plus whatever they affect. Entries you don't change are accepted as they are, so you're never blocked by settings you didn't touch.
Sections
What each section is for and what can change. Field-level descriptions and allowed values show up in your editor as you type.
Version
version is always 2.
App
idpicks the app to update. Leave it out to create a new app.Everything else can be changed.
Versioning
versionFilesare the files in your repository where Runway bumps the version. Runway checks each file exists in the repository when you plan.customVersioningsets a version format other than three-digit SemVer, keyed by version type, likeappStore(App Store version) orrunwayUserFacing(Runway display version). Removing an entry goes back to the standard format.
Tags
The pattern Runway uses to read release tags from your repository and to create tags when releases complete. {version} and {versionConcise} stand in for the release version.
$tag_defaultis the app's tag pattern, the one on the app's settings page. Other tag configs used by specific steps are$tag_custom_1,$tag_custom_2...Only
$tag_default's pattern can be changed. A new app gets$tag_defaultwhen the file sets it.
Branches
The branches Runway works with. workingBranch is where day-to-day work lands; releaseBranchPattern and hotfixBranchPattern name each release's branch. stagingBranch and prodBranch can only be removed (set to null).
Destinations
Where the app ships. Each destination has its own release steps.
New destinations can be
ios,androidorreact-native-ota. iOS and Android destinations need anappStoreType; OTA destinations don't take one.Only
name,iconandtagscan change on an existing destination. To change its platform or store, remove it and add a new one.An app needs at least one destination.
Adding or removing a destination also adds or removes its steps. See Add a destination and Remove a destination.
Integrations
Integrations installed on this app. Steps use them by key.
typeandproviderare required to add an integration, and can't change afterwards.provideris the provider's Provider ID, which you'll find under Organization settings → Integrations. See Connect an integration.aliasandsettingscan change.An app has at most one integration per capability where Runway only supports one, like version control or team communication.
Removing an integration uninstalls it from the app. Steps that use it need to stop listing it in the same file.
Health metrics
The metrics Runway tracks during rollout.
integrationis the key of the stability or analytics integration the metric reads from.A release is healthy while the metric meets every threshold.
conditionisLessThan,LessThanOrEqualTo,GreaterThanOrEqualToorGreaterThan.Composed metrics combine others: list their keys in
composedMetricsand refer to them asM1,M2... inequation, likeM1 / M2 * 100.On an existing metric,
thresholds,name,description,hideOnRolloutViewandnotifyOnApproachingThresholdcan change. To change what it measures, remove it and add a new one.
Feature affiliations
How Runway labels tickets in your issue tracker with the release they ship in. Only pattern can change on an existing one.
Fix requests
The Fix requests settings page. formFields is the fix request form and is replaced whole: write every field you want.
Required steps
Which steps must be done before submission and release, per release type, like the Edit required release steps dialog. Steps are keyed by type (archetype), and only the app's own step types are accepted. Types left out keep their value.
Flightpath
The steps every release goes through.
Step fields
name – The step's name in Runway.
archetype – The step's type. It can't change.
destinations – The destinations the step serves.
integrations – Keys of the integrations the step uses, at most one per capability.
upstreamCIStep – The CI step whose builds this step uses, for beta testing, regression testing and release steps.
tagConfig / branchConfig – The tag and branch config the step uses. They can be changed, but not removed.
settings – The fields in the step's settings drawer.
Step types (archetype)
kickoff
Kickoff
All destinations
featureReadiness
Feature readiness
All destinations
translations
Translations
All destinations
releaseCandidate
CI / release candidate
One or several destinations
regressionTesting
Regression testing
One or several destinations
approvals
Approvals
One or several destinations
betaTesting
Beta testing
One or several destinations
screenshots
Screenshots
One destination
metadata
Metadata
One destination
submission
Submission
One destination
storeReview
Store review
One destination
takeoff / ciDistribution
Release
One destination
rollout
Rollout
One destination
What can change
Any step can be renamed, and its integrations, upstream CI step, tag config, branch config and settings changed.
CI (
releaseCandidate), beta testing, regression testing and approvals steps can be added, removed and moved instepGraph, like on the Flightpaths settings page.Other step types come and go with their destination: they're added along with a new destination (or a new app), and removed with it.
Each destination keeps at least one CI step. Beta testing, regression testing and approvals can be removed entirely.
A step can't be removed while another step depends on it, like a release step whose
upstreamCIStepit is, or a rollout following it. Point the other step elsewhere in the same file.A new step needs a
tagConfig,branchConfigandupstreamCIStepwhen other steps of its type have one.A step shared between destinations can add a destination the same file adds, or drop one the same file removes.
stepGraph lists every step in display order: columns (groups lists) of rows (steps lists). Every step must appear in it.
Settings to know about
Submission, store review and release steps share their destination's release settings, so only the release step (
takeoff) lists them.On the release step,
ageRatingDeclaration: nulluses the app's default age rating; any other value overrides it for this destination and is sent to App Store Connect.Settings that point at steps take step keys, like a rollout's
sourceStepConfigId: $releaseor metadata'supstreamBetaStepConfigId: $beta.A new step's settings can only be set on a later apply, once the step exists.
Checklists
The items on each step's checklist, like the Checklists settings page.
stepis a step key.placementis the list the item is on: the step's Checklist tab (stepChecklist, the default), or the regression testing or approvals step's own list.stepandplacementcan't change. To move an item, remove it and add it under a new key.With no
groupsorowners, the release pilot owns the item.targetCompletion: nullturns the target off.New items go to the end of their list. The order you set in Runway is kept.
Items added to a single release, and items from your organization's templates, aren't in the file.
Changes reach releases in progress too.
Automations
What's on the Automations tab of the Flightpaths settings page: app-wide automations under app, and each step's under steps.<step key>, keyed by automation type. Export comments name each one.
enabled, triggers andsettingscan change. Automations can't be added or removed: they come with their steps.Triggers.
relativeTimeTriggerruns the automation at a set time before or after a release event.completedStepsTriggerruns it once required steps are done ({}), or only the steps you list (hasCustomRequiredSteps: truewithrequiredSteps: [...]). Set a trigger tonullto turn it off.Overrides are the other tabs in an automation's settings: a release type (
hotfix,rollback...) that runs differently.Each override is written whole: its
enabled, its triggers and only thesettingsthat differ from the automation's own.A release type without an override uses the automation's own values. Removing an override goes back to them.
A release type that's off is just
enabled: false.App-wide automations run once for every release type, so they can't have overrides.
Automations whose triggers are condition groups only let the file turn them on or off.
Notifications
The Notifications settings page, keyed by notification. comms is Slack or Microsoft Teams, whichever the app uses.
Any part left out keeps its value.
mentionmentions one kind at a time:groups,usersorreleasePilot: true.{}mentions nobody.Overrides change a notification for specific steps, keyed by step.
An override lists only what differs; everything else follows the app-wide notification.
Leaving
overridesout keeps them as they are. Writingoverridesreplaces them all: steps it doesn't list lose their override.An override's
enabledfollows the app-wide toggle unless you set it to something different.comms.usePrimaryChannels: truesends to the app's main channels instead of the notification's.
Overrides grouped across steps in Runway show up as one copy per step. Changing one takes it out of its group.
Custom strings
Tokens like {version} are replaced with release details. Each string supports its own tokens, and planning rejects any it doesn't support, listing the ones it does:
{version}works in every string except the cherry-pick commit message.{versoin}is rejected, since it isn't a supported token.${BUILD_ENV}or{BUILD_ID}is kept as text, since only camelCase words in braces are tokens.
The cherry-pick commit message must include {commitMessage} exactly once, so the original commit's message isn't lost.
Last updated
Was this helpful?