Skip to content

Commit

Permalink
run ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Dec 17, 2024
1 parent aeac1d4 commit 428a0bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
push:
branches:
- main
- automation/brawl/try/*
- automation/brawl/merge/*

pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
Expand Down
6 changes: 6 additions & 0 deletions server/src/github/webhook/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,12 @@ async fn handle_event<C: WebhookConfig>(global: Arc<C>, mut event: WebhookEvent)
return Ok(());
};

let Some(repo_client) = client.get_repository(repo_id) else {
return Ok(());
};

repo_client.set_pull_request(pull_request_event.pull_request.clone()).await;

let config = client.get_repo_config(repo_id).await?;

let Some(author) = event
Expand Down

0 comments on commit 428a0bb

Please sign in to comment.