Skip to content

Commit

Permalink
Require approval to run CI on draft PRs (#734)
Browse files Browse the repository at this point in the history
By default, CI runs on draft PRs. This leads to many CI runs that may be
unnecessary.

With this PR's change to `.github/copy-pr-bot.yaml`, an `/ok to test`
comment from a trusted user is required to trigger CI on draft PRs.
Non-draft PRs will run CI by default, assuming that all commits are
signed by trusted users. Otherwise an `/ok to test` is required (as
before) -- see the `copy-pr-bot` docs at
https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/ for more
information.

Part of rapidsai/build-planning#123.
  • Loading branch information
bdice authored Nov 26, 2024
1 parent b75ada7 commit d43e43e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/copy-pr-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
# https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/

enabled: true
auto_sync_draft: false

0 comments on commit d43e43e

Please sign in to comment.