jinxapi_github/v1_1_4/schema/
selected_actions.rs

1#[allow(non_snake_case)]
2#[derive(Clone, Eq, PartialEq, Debug, Default, ::serde::Serialize, ::serde::Deserialize)]
3pub struct SelectedActions<'a> {
4    /// Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization.
5    #[serde(skip_serializing_if = "Option::is_none", default)]
6    pub github_owned_allowed: ::std::option::Option<bool>,
7
8    /// Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators.
9    #[serde(skip_serializing_if = "Option::is_none", default)]
10    pub verified_allowed: ::std::option::Option<bool>,
11
12    /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`."
13    #[serde(skip_serializing_if = "Option::is_none", default)]
14    pub patterns_allowed: ::std::option::Option<::std::borrow::Cow<'a, [::std::borrow::Cow<'a, str>]>>,
15
16    #[serde(flatten)]
17    pub additionalProperties: ::std::collections::HashMap<::std::borrow::Cow<'a, str>, ::serde_json::value::Value>
18}