pub struct Actions {
pub permissions: Option<Permissions>,
pub selected_actions: Option<AllowList>,
pub workflow: Option<Workflow>,
pub access: Option<Access>,
pub artifact_and_log_retention: Option<ArtifactAndLogRetention>,
pub fork_pr_contributor_approval: Option<ForkPrContributorApproval>,
pub fork_pr_workflows_private_repos: Option<ForkPrWorkflowsPrivateRepos>,
pub cache: Option<Cache>,
pub oidc_subject: Option<OidcSubject>,
}Expand description
Desired GitHub Actions settings. A group that is None is left alone.
Fields§
§permissions: Option<Permissions>Whether Actions runs and which actions may run.
selected_actions: Option<AllowList>The allow list used when only selected actions may run.
workflow: Option<Workflow>The default token permissions of workflows.
access: Option<Access>Which repositories may use this repository’s actions. Private repositories only.
artifact_and_log_retention: Option<ArtifactAndLogRetention>How long artifacts and logs are kept.
fork_pr_contributor_approval: Option<ForkPrContributorApproval>Which fork pull request contributors need approval.
fork_pr_workflows_private_repos: Option<ForkPrWorkflowsPrivateRepos>How workflows run for fork pull requests. Private repositories only.
cache: Option<Cache>The limits of the Actions cache.
oidc_subject: Option<OidcSubject>How the OIDC subject claim is built.
Trait Implementations§
impl Eq for Actions
impl StructuralPartialEq for Actions
Auto Trait Implementations§
impl Freeze for Actions
impl RefUnwindSafe for Actions
impl Send for Actions
impl Sync for Actions
impl Unpin for Actions
impl UnsafeUnpin for Actions
impl UnwindSafe for Actions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.