We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7c118 commit 4fb0ac7Copy full SHA for 4fb0ac7
crates/gh-workflow-tailcall/src/workflow.rs
@@ -156,8 +156,8 @@ impl Workflow {
156
fn workflow_cond(&self) -> Context<bool> {
157
let is_main = Context::github().ref_().eq("refs/heads/main".into());
158
let is_push = Context::github().event_name().eq("push".into());
159
- let cond = is_main.and(is_push);
160
- cond
+
+ is_main.and(is_push)
161
}
162
163
fn workflow_event(&self) -> Event {
crates/gh-workflow-tailcall/tests/ci.rs
@@ -2,5 +2,9 @@ use gh_workflow_tailcall::Workflow;
2
3
#[test]
4
fn generate() {
5
- Workflow::default().auto_release(true).auto_fix(true).generate().unwrap();
+ Workflow::default()
6
+ .auto_release(true)
7
+ .auto_fix(true)
8
+ .generate()
9
+ .unwrap();
10
0 commit comments