Skip to content

Commit

Permalink
docs: update secrets allow_substitution API + CLI reference (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Mar 13, 2024
1 parent 1416689 commit 8d454cd
Show file tree
Hide file tree
Showing 11 changed files with 374 additions and 29 deletions.
50 changes: 50 additions & 0 deletions content/reference/api/admin/secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,31 @@ existing entry for the secret.
"images": ["alpine"],
"events": ["push", "tag"],
"allow_command": true,
"allow_substitution": true,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"created_at": 1641314085,
"created_by": "octokitty",
"updated_at": 1641314500,
Expand Down Expand Up @@ -79,6 +104,31 @@ curl \
"images": ["alpine"],
"events": ["push", "tag"],
"allow_command": true,
"allow_substitution": true,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"created_at": 1641314085,
"created_by": "octokitty",
"updated_at": 1641314500,
Expand Down
24 changes: 24 additions & 0 deletions content/reference/api/repo/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,30 @@ curl \
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
}
```
96 changes: 96 additions & 0 deletions content/reference/api/repo/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,30 @@ curl \
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
},
{
Expand All @@ -97,6 +121,30 @@ curl \
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
}
]
Expand Down Expand Up @@ -180,6 +228,30 @@ curl \
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
},
{
Expand All @@ -203,6 +275,30 @@ curl \
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
}
]
Expand Down
24 changes: 24 additions & 0 deletions content/reference/api/repo/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,30 @@ curl \
"allow_deploy": false,
"allow_tag": true,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
}
```
24 changes: 24 additions & 0 deletions content/reference/api/repo/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,30 @@ curl \
"allow_deploy": false,
"allow_tag": false,
"allow_comment": false,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"pipeline_type": "yaml"
}
```
25 changes: 25 additions & 0 deletions content/reference/api/secret/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,31 @@ curl \
"images": ["alpine"],
"events": ["push"],
"allow_command": true,
"allow_substitution": true,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"created_at": 1641314085,
"created_by": "octokitty",
"updated_at": 1641314085,
Expand Down
50 changes: 50 additions & 0 deletions content/reference/api/secret/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,31 @@ curl \
"images": ["alpine"],
"events": ["push"],
"allow_command": true,
"allow_substitution": true,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"created_at": 1641314085,
"created_by": "octokitty",
"updated_at": 1641314085,
Expand All @@ -81,6 +106,31 @@ curl \
"images": ["alpine"],
"events": ["push"],
"allow_command": true,
"allow_substitution": true,
"allow_events": {
"push": {
"branch": true,
"tag": true,
"delete_branch": false,
"delete_tag": false
},
"pull_request": {
"opened": false,
"edited": false,
"synchronize": false,
"reopened": false
},
"deployment": {
"created": true
},
"comment": {
"created": false,
"edited": false
},
"schedule": {
"run": false
}
},
"created_at": 1641314500,
"created_by": "octokitty",
"updated_at": 1641314500,
Expand Down
Loading

0 comments on commit 8d454cd

Please sign in to comment.