Skip to content

Commit

Permalink
feat: add step id to octocrab
Browse files Browse the repository at this point in the history
  • Loading branch information
loispostula committed Jul 25, 2024
1 parent 736ccc1 commit 6a2691f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ id_type!(
UserId,
UserOrOrgId,
WorkflowId,
WorkflowStepId,
TeamInvitationId
);

Expand Down
1 change: 1 addition & 0 deletions src/models/workflows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ pub enum Status {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct Step {
pub id: Option<WorkflowStepId>,
pub name: String,
pub status: Status,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 6a2691f

Please sign in to comment.