Skip to content

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

License

Notifications You must be signed in to change notification settings

pentible/wait-for-check-action

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

Repository files navigation

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/[email protected]
    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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published