Skip to content

Commit cf38980

Browse files
authored
Merge pull request #789 from Mark-Simulacrum/triagebot-bot-prs
Add docs for bot PR triagebot handler
2 parents 6d57c03 + 9fde58d commit cf38980

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
- [Triagebot Dashboard](./triagebot/triage-dashboard.md)
3939
- [Zulip Meeting Management](./triagebot/zulip-meeting.md)
4040
- [Zulip Notifications](./triagebot/zulip-notifications.md)
41+
- [GitHub Actions created PR open/closer](./triagebot/bot-pull-requests.md)
4142
- [Community](./community/README.md)
4243
- [State of Rust Survey FAQ](./community/survey-faq.md)
4344
- [Compiler](./compiler/README.md)

src/triagebot/bot-pull-requests.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# GitHub Actions created PR open/closer
2+
3+
This automation triggers an automatic close & reopen on PRs opened by the
4+
`github-actions` user, i.e., from a GitHub actions job. This enables CI to run
5+
on those PRs without needing a manual poke from some human.
6+
7+
## Configuration
8+
9+
This feature is enabled on a repository by having a `[bot-pull-requests]` table in `triagebot.toml`:
10+
11+
```toml
12+
[bot-pull-requests]
13+
```
14+
15+
## Implementation
16+
17+
See [`src/handlers/bot_pull_requests.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/bot_pull_requests.rs).

0 commit comments

Comments
 (0)