added labels
This commit is contained in:
parent
56cbb383ab
commit
bfb79c3f3c
5 changed files with 243 additions and 29 deletions
14
README.md
14
README.md
|
|
@ -9,7 +9,7 @@ This way we can trigger cleanups when the PR is closed.
|
|||
## Push Event
|
||||
|
||||
```
|
||||
X-Interceptor-Push-Ref: []string{"refs/heads/master"}
|
||||
X-Interceptor-Push-Ref: string: "refs/heads/master"
|
||||
```
|
||||
|
||||
Response Headers:
|
||||
|
|
@ -34,16 +34,16 @@ Commit: <Pull-Request Head Commit Hash>
|
|||
## Issue Comment Event
|
||||
|
||||
```
|
||||
X-Interceptor-Comment-Action: "/test"
|
||||
X-Interceptor-Comment-Action: "/test-deploy"
|
||||
X-Interceptor-Label: "test-deploy:#aabbcc"
|
||||
X-Interceptor-Remove-Labels: []string{"test", "deploy"}
|
||||
```
|
||||
|
||||
### Actions
|
||||
|
||||
TBD:
|
||||
|
||||
* `/label <name>` - add a label `<name>` to the pull request
|
||||
* `/test` - run tests pipeline (requires `test` label)
|
||||
* `/deploy` - deploy pull request in preview environment (requires `deploy` label)
|
||||
* `/test` - add `test` label and run test pipeline
|
||||
* `/deploy` - add `deploy` label and run deploy pipeline
|
||||
* `/test-deploy` - add `test-deploy` label and run test-deploy pipeline
|
||||
|
||||
Response Headers:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue