pub struct RemoteWorkflow {
pub owner: String,
pub repo: String,
pub workflow_path: String,
pub reference: String,
}Expand description
A reusable workflow in another repository, pinned to a tag, branch, or SHA.
Fields§
§owner: String§repo: String§workflow_path: StringPath inside the repository, for example .github/workflows/lint.yml.
reference: StringTag, branch, or commit SHA. A branch may contain /.
Implementations§
Source§impl RemoteWorkflow
impl RemoteWorkflow
Sourcepub fn cache_relative(&self) -> PathBuf
pub fn cache_relative(&self) -> PathBuf
Relative runs-cache path <owner>/<repo>/<workflow_path>@<reference>.
A reference that contains / continues as further path components.
lint.yml at ref release/1.2 is lint.yml@release/1.2.
Trait Implementations§
Source§impl Clone for RemoteWorkflow
impl Clone for RemoteWorkflow
Source§impl Debug for RemoteWorkflow
impl Debug for RemoteWorkflow
impl Eq for RemoteWorkflow
Source§impl PartialEq for RemoteWorkflow
impl PartialEq for RemoteWorkflow
impl StructuralPartialEq for RemoteWorkflow
Auto Trait Implementations§
impl Freeze for RemoteWorkflow
impl RefUnwindSafe for RemoteWorkflow
impl Send for RemoteWorkflow
impl Sync for RemoteWorkflow
impl Unpin for RemoteWorkflow
impl UnsafeUnpin for RemoteWorkflow
impl UnwindSafe for RemoteWorkflow
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