Using GitHub's API, check if the CI run on a given branch succeeded
Required user or organization under which the repo is
Required name of the repo
Required name of the branch to check
Required name of the check run to look for, eg "Travis CI - Branch"
Required GitHub token to authenticate API requests, required because otherwise you risk hitting rate limits
None
- uses: samuelgruetter/check-ci-success@master
with:
repo_owner: 'mit-plv'
repo_name: 'bedrock2'
branch_name: 'master'
check_name: 'Travis CI - Branch'
github_token: ${{ secrets.GITHUB_TOKEN }}