Skip to content

Commit

Permalink
Add docs for bot PR triagebot handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Dec 8, 2024
1 parent 6d57c03 commit 9fde58d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- [Triagebot Dashboard](./triagebot/triage-dashboard.md)
- [Zulip Meeting Management](./triagebot/zulip-meeting.md)
- [Zulip Notifications](./triagebot/zulip-notifications.md)
- [GitHub Actions created PR open/closer](./triagebot/bot-pull-requests.md)
- [Community](./community/README.md)
- [State of Rust Survey FAQ](./community/survey-faq.md)
- [Compiler](./compiler/README.md)
Expand Down
17 changes: 17 additions & 0 deletions src/triagebot/bot-pull-requests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# GitHub Actions created PR open/closer

This automation triggers an automatic close & reopen on PRs opened by the
`github-actions` user, i.e., from a GitHub actions job. This enables CI to run
on those PRs without needing a manual poke from some human.

## Configuration

This feature is enabled on a repository by having a `[bot-pull-requests]` table in `triagebot.toml`:

```toml
[bot-pull-requests]
```

## Implementation

See [`src/handlers/bot_pull_requests.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/bot_pull_requests.rs).

0 comments on commit 9fde58d

Please sign in to comment.