Commit 593e8fd
authored
Add /lgtm and /hold slash-commands workflow (modelcontextprotocol#2381)
Adds a caller workflow for modelcontextprotocol/actions/slash-commands
that implements Prow-style PR approval via comment commands:
- /lgtm adds 'approved' label + bot APPROVE review
- /hold adds 'do-not-merge/hold' label
- Both gated by core/lead maintainers OR CODEOWNERS of changed files
- New commits invalidate approval automatically
The 'status' job is intended to become a required check in branch
protection, making the labels an actual merge gate.
Requires SLASH_COMMANDS_TOKEN secret (PAT with read:org — see action
README for scopes). Also requires the 'approved' and 'do-not-merge/hold'
labels to exist.
References @slash-commands branch of the actions repo while that PR is
open; will bump to @main after it merges.
Fixes modelcontextprotocol#2199
🏠 Remote-Dev: homespace1 parent 8c086ab commit 593e8fd
1 file changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments