Skip to content

wait-for-check-action

Actions
Wait for a check (ie. an action job) to complete before proceeding
v1.0.1
Latest
Star (1)

Tags

 (1)

wait-for-check-action

Usage

permissions:
  contents: read # for actions/checkout
  checks: read # for pentible/wait-for-check-action
steps:
  - name: Wait for CI
    id: wait-ci
    uses: pentible/wait-for-check-action@v1.0.1
    with:
      # ie. if check comes from a github action, it will be the job name
      check-name: ci
      # additional options & their defaults
      # ref: ${{ github.sha }}
      # owner: ${{ github.repository_owner }}
      # repo: ${{ github.event.repository.name }}
      # interval: 5
      # expected-conclusions: success,skipped
      # github-token: ${{ github.token }}
  - name: Print Conclusion
    run: echo "${{ steps.wait-ci.outputs.conclusion }}"

Local dev

  • ./bin/dev initial setup
  • run the following commands AND append to your shell configs (ie. ~/.zshrc or ~/.bashrc/~/.bash_profile)
eval "$(mise activate zsh)"
# or for bash
# eval "$(mise activate bash)"
  • (optionally) configure mise: ~/.config/mise/settings.toml
trusted_config_paths = ["~/Projects"] # where ~/Projects is wherever you clone your repos
  • dev start

wait-for-check-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Wait for a check (ie. an action job) to complete before proceeding
v1.0.1
Latest

Tags

 (1)

wait-for-check-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.