pub struct SelectedActions {
pub github_owned_allowed: Option<bool>,
pub verified_allowed: Option<bool>,
pub patterns_allowed: Option<Vec<String>>,
}
Fields§
§github_owned_allowed: Option<bool>
Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions
organization.
verified_allowed: Option<bool>
Whether actions from GitHub Marketplace verified creators are allowed. Set to true
to allow all actions by GitHub Marketplace verified creators.
patterns_allowed: Option<Vec<String>>
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/_*
. Note: The patterns_allowed
setting only applies to public repositories.
Implementations§
Source§impl SelectedActions
impl SelectedActions
pub fn new() -> SelectedActions
Trait Implementations§
Source§impl Clone for SelectedActions
impl Clone for SelectedActions
Source§fn clone(&self) -> SelectedActions
fn clone(&self) -> SelectedActions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SelectedActions
impl Debug for SelectedActions
Source§impl Default for SelectedActions
impl Default for SelectedActions
Source§fn default() -> SelectedActions
fn default() -> SelectedActions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelectedActions
impl<'de> Deserialize<'de> for SelectedActions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SelectedActions
impl PartialEq for SelectedActions
Source§impl Serialize for SelectedActions
impl Serialize for SelectedActions
impl StructuralPartialEq for SelectedActions
Auto Trait Implementations§
impl Freeze for SelectedActions
impl RefUnwindSafe for SelectedActions
impl Send for SelectedActions
impl Sync for SelectedActions
impl Unpin for SelectedActions
impl UnwindSafe for SelectedActions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more