Files
atlantis/server/events/testdata/bitbucket-server-pull-event-created.json
nitrocode d85662cdf1 Rename default branch to main (#2662)
* Rename default branch to main

* Bump git, curl, and openssl packages
2022-11-14 11:28:29 -06:00

85 lines
1.9 KiB
JSON

{
"eventKey": "pr:opened",
"date": "2018-07-21T23:19:37+0200",
"actor": {
"name": "lkysow",
"emailAddress": "lkysow@gmail.com",
"id": 1,
"displayName": "Luke Kysow",
"active": true,
"slug": "lkysow",
"type": "NORMAL"
},
"pullRequest": {
"id": 1,
"version": 0,
"title": "Null resource",
"state": "OPEN",
"open": true,
"closed": false,
"createdDate": 1532207977313,
"updatedDate": 1532207977313,
"fromRef": {
"id": "refs/heads/branch",
"displayId": "branch",
"latestCommit": "bfb1af1ba9c2a2fa84cd61af67e6e1b60a22e060",
"repository": {
"slug": "atlantis-example",
"id": 1,
"name": "atlantis-example",
"scmId": "git",
"state": "AVAILABLE",
"statusMessage": "Available",
"forkable": true,
"project": {
"key": "AT",
"id": 1,
"name": "atlantis",
"public": false,
"type": "NORMAL"
},
"public": false
}
},
"toRef": {
"id": "refs/heads/main",
"displayId": "main",
"latestCommit": "3d1f26bc1c8eeb5ad94e247c92072717b9de6aa0",
"repository": {
"slug": "atlantis-example",
"id": 1,
"name": "atlantis-example",
"scmId": "git",
"state": "AVAILABLE",
"statusMessage": "Available",
"forkable": true,
"project": {
"key": "AT",
"id": 1,
"name": "atlantis",
"public": false,
"type": "NORMAL"
},
"public": false
}
},
"locked": false,
"author": {
"user": {
"name": "lkysow",
"emailAddress": "lkysow@gmail.com",
"id": 1,
"displayName": "Luke Kysow",
"active": true,
"slug": "lkysow",
"type": "NORMAL"
},
"role": "AUTHOR",
"approved": false,
"status": "UNAPPROVED"
},
"reviewers": [],
"participants": []
}
}