Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Jun 25, 2024
1 parent 7d22eab commit 92013b6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/caido/helpers/workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,20 @@ def workflows
}
}')['workflows']
end

def workflow(id)
query("query{
workflow(id: \"#{id}\"){
id
name
kind
enabled
global
definition
createdAt
updatedAt
}
}")['workflow']
end
end
end

0 comments on commit 92013b6

Please sign in to comment.