guardian/Guardian Build Facts
Obtain facts about a build.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| buildNumberOffset | If set, will be added to the build number. Useful if wanting to continue counting from a previous build tool (e.g. TeamCity). | no | 0 |
Outputs
| name | description |
|---|---|
| branchName | The name of the branch being built, with 'refs/heads/' prefix removed. For example, 'feature/foo'. |
| buildNumber | The number of this build, optionally offset by the 'buildNumberOffset' input. |
| commitSha | The SHA of the commit being built. |