Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ name: CI

on:
pull_request:
# A draft runs nothing; marking it ready starts the run.
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [main]

Expand All @@ -27,6 +29,7 @@ env:

jobs:
check:
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
runs-on: ubuntu-latest
timeout-minutes: 60
defaults:
Expand Down
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ cargo clippy --workspace --all-features --all-targets
## Process

Branch from `origin/main`, open a PR into `main` with a conventional
title. GPL-3.0-or-later; a new crate inherits `license.workspace = true`.
title. CI runs on ready PRs only (skipped on a draft): to get checks, mark
the PR ready (`gh pr ready`); it runs then and on every push after. GPL-3.0-or-later; a new crate inherits `license.workspace = true`.
Loading