Skip to content

Commit

Permalink
feat(repo_settings): new allow_events support (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper authored Jan 5, 2024
1 parent 94ca744 commit c1c1e17
Show file tree
Hide file tree
Showing 14 changed files with 3,080 additions and 192 deletions.
84 changes: 80 additions & 4 deletions cypress/fixtures/repositories.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,26 @@
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"pipeline_type": "yaml"
"pipeline_type": "yaml",
"allow_events": {
"push": {
"branch": true,
"tag": false
},
"pull_request": {
"opened": false,
"synchronize": false,
"edited": false,
"reopened": false
},
"deployment": {
"created": false
},
"comment": {
"created": false,
"edited": false
}
}
},
{
"id": 18,
Expand All @@ -43,7 +62,26 @@
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"pipeline_type": "yaml"
"pipeline_type": "yaml",
"allow_events": {
"push": {
"branch": true,
"tag": false
},
"pull_request": {
"opened": false,
"synchronize": false,
"edited": false,
"reopened": false
},
"deployment": {
"created": false
},
"comment": {
"created": false,
"edited": false
}
}
},
{
"id": 17,
Expand All @@ -65,7 +103,26 @@
"allow_push": true,
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": false
},
"pull_request": {
"opened": false,
"synchronize": false,
"edited": false,
"reopened": false
},
"deployment": {
"created": false
},
"comment": {
"created": false,
"edited": false
}
}
},
{
"id": 16,
Expand All @@ -88,6 +145,25 @@
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"pipeline_type": "yaml"
"pipeline_type": "yaml",
"allow_events": {
"push": {
"branch": true,
"tag": false
},
"pull_request": {
"opened": false,
"synchronize": false,
"edited": false,
"reopened": false
},
"deployment": {
"created": false
},
"comment": {
"created": false,
"edited": false
}
}
}
]
Loading

0 comments on commit c1c1e17

Please sign in to comment.