Skip to content

Commit 4db63c3

Browse files
committed
wip
1 parent 155816f commit 4db63c3

File tree

1 file changed

+10
-7
lines changed
  • .github/actions/clippy-annotation-reporter/src

1 file changed

+10
-7
lines changed

.github/actions/clippy-annotation-reporter/src/main.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,16 @@ async fn main() -> Result<()> {
157157
};
158158

159159
// Set base branch (default to the PR's base branch or 'main')
160-
let base_branch = args.base_branch.unwrap_or_else(|| {
161-
if !github_ctx.base_ref.is_empty() {
162-
github_ctx.base_ref.clone()
163-
} else {
164-
"main".to_string()
165-
}
166-
});
160+
// let base_branch = args.base_branch.unwrap_or_else(|| {
161+
// if !github_ctx.base_ref.is_empty() {
162+
// github_ctx.base_ref.clone()
163+
// } else {
164+
// "origin/main".to_string()
165+
// }
166+
// });
167+
168+
// TODO: EK - FIX THIS
169+
let base_branch = "origin/main".to_owned();
167170

168171
// Set head branch (PR's head branch)
169172
let head_branch = if !github_ctx.head_ref.is_empty() {

0 commit comments

Comments
 (0)