Skip to content
Dashboard
Docs menu

Push and PR checks

Run your existing workflow when you push or open a pull request.

Enable checks

After connecting your repo, choose a workflow on its default branch. Replace the example path with your workflow.

Terminal
npx -y notusci@latest repo set --push-workflow .github/workflows/ci.yml

The workflow must use supported Actions syntax. If NotusCI refuses it, the receipt shows the reason. Use repo set --off to disable these checks.

Reuse unchanged checks

Declare the paths a check reads with NOTUSCI_INPUTS. Use this for checks whose output later steps don’t need.

YAML
- name: Test
  run: node --test
  env:
    NOTUSCI_INPUTS: src test

Local verifies and eligible same-repo PRs can reuse results from passed default-branch pushes. The push after merge runs every check. Owners can separately enable pushResultReuse for eligible no-op pushes.

Agent reference · Repository settings

Pull requests from forks

A PR from a fork by an outside contributor waits for owner approval. The owner approves that contributor once for the account. Fork PRs run every check.