Skip to content

About

Action for check that a commit exists in a branch

Resources

Stars

1 star

Watchers

1 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Check Commit Exist

License CI Action type

Supported runners

Supported runner Supported runner Supported runner

This action check if a commit (see commit param) exists in the current fetched history of your repository.

If commit was not found the job using the action finish with status failure (see job context doc).

Usage

- uses: betanzos/check-commit-exist@v1
  with:
    # SHA of the commit to check if it exists.
    # REQUIRED
    commit: ${{ github.sha }}

    # Inverts the action job finish status
    # (if `success` will be `failure` and if `failure` will be `success`).
    # Can be one of: 'true' or 'false'. Wrong values causes to use default.
    invert: 'false'

License

The source code, scripts and documentation in this project are released under the Apache-2.0 License

About

Action for check that a commit exists in a branch

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages