Repository navigation
Releases
v1.3.0
Changes
- Optional
environmentinput. Omit it to use the token's environment. A workspace token can name any environment in the project. Apply uses the environment pinned in the plan, so the apply step does not need the input.
The floating v1 tag points at this release. v1.2.0 is unchanged.
v1.2.0
Plan comments can now post under the official Railway bot identity — the same identity as PR-environment deploy comments.
Grant the plan job id-token: write (and have the Railway GitHub App installed on the repo):
permissions:
contents: read
pull-requests: write
id-token: writeThe action sends a GitHub Actions OIDC token to Railway, which verifies the workflow runs in this repo and posts the comment through the Railway GitHub App. Falls back to posting with github-token (as github-actions) when the permission, app installation, or API is unavailable.
Note: requires Railway API support that is rolling out (railwayapp/mono#36877); until then the action transparently uses the fallback.
v1.1.1
Plan comment refinements:
- Variable-level changes are colored by verb:
Set/Create/Addrender green,Delete/Remove/Unsetrender red, updates stay neutral - Clearer destructive-operations warning
- Removed the logo from the comment header
v1.1.0
- Railway-branded plan comment: logo (theme-aware), colored diff, destructive warning callout, collapsible pin details
applynow also works frompushevents by resolving the merged PR from the pushed commit (enables split plan/apply workflows)- README: split-workflow example and comment-identity (GitHub App) docs
v1.0.0
Plan Railway Infrastructure as Code on pull requests; apply the reviewed, pinned plan artifact on merge. Fails closed on environment drift (configEtag) and .railway/ tree mismatch. Requires @railway/cli >= 5.45.1.