Skip to content

Add support for Github Actions build number #847

Closed
@rand0m86

Description

@rand0m86

Describe the idea (required)

Currently there is no support for build number in Github Actions integration. Maybe it was not that straightforward at a time when the plugin was created.
Now it seems quite trivial, we simply have to take value from GITHUB_RUN_NUMBER environment variable.
See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables.

Tell us about the expected behaviour (required)

It is expected to get build.number variable in the plugin populated.

Context (optional)

See PR git-commit-id/git-commit-id-plugin-core#228

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions