dolittle/Establish Context

Establishes the context for the pipeline

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 5, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: dolittle/establish-context-action@8462e2fecc7a21e2743afb332de5eae1b7c0f682 # v2.5.7

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenToken to use for Github APIyes${{ github.token }}
prerelease-branchesA comma-separated list of branch names that when merged a PR to will trigger a release.yes""
environment-branchIf the build pipeline is for a target environment (e.g. development, test, staging) you'd specify that here.no""
current-versionIf the version is known, you can specify it with thisno""
version-fileIf the version is in a file adhering to the expected JSON format, use this.no""
namedescription
should-publishWhether or not the pipeline should publish
current-versionThe current version of the repository based on tags or 1.0.0 if there are no version tags
release-typeThe type of the release. One of [major, minor, patch, prerelease]
cascading-releaseWhether the publish was triggered by a cascading release.
pr-bodyThe body of the pull request
pr-urlThe url to the pull request