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 dbfa172 commit 26b140aCopy full SHA for 26b140a
src/handlers/validate_config.rs
@@ -4,6 +4,7 @@
4
5
use crate::{
6
config::{ValidateConfig, CONFIG_FILE_NAME},
7
+ github::IssuesAction,
8
handlers::{Context, IssuesEvent},
9
};
10
use tracing as log;
@@ -13,6 +14,12 @@ pub(super) async fn parse_input(
13
14
event: &IssuesEvent,
15
_config: Option<&ValidateConfig>,
16
) -> Result<Option<()>, String> {
17
+ if !matches!(
18
+ event.action,
19
+ IssuesAction::Opened | IssuesAction::Reopened | IssuesAction::Synchronize
20
+ ) {
21
+ return Ok(None);
22
+ }
23
// All processing needs to be done in parse_input (instead of
24
// handle_input) because we want this to *always* run. handle_input
25
// requires the config to exist in triagebot.toml, but we want this to run
0 commit comments