From e3bb659e06b1e61111f9189b9beb765d90f0a287 Mon Sep 17 00:00:00 2001 From: pvshvp-oss Date: Mon, 13 May 2024 16:57:12 -0500 Subject: [PATCH] Do not run CI by default on other branches --- .github/workflows/code_validation.yml | 1 + .github/workflows/security_audit.yml | 1 + paxy/src/action/repository/install.rs | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_validation.yml b/.github/workflows/code_validation.yml index c10dab5..7ec20a5 100644 --- a/.github/workflows/code_validation.yml +++ b/.github/workflows/code_validation.yml @@ -5,6 +5,7 @@ on: - '**/Cargo.toml' # Run when dependencies change - '**/Cargo.lock' # Run when dependencies change - '**/src/**' + branches: [main] pull_request: paths: - '.github/workflows/code_validation.yml' # Run when this workflow changes diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security_audit.yml index 4ba48a3..41cf1cc 100644 --- a/.github/workflows/security_audit.yml +++ b/.github/workflows/security_audit.yml @@ -6,6 +6,7 @@ on: - '.github/workflows/security_audit.yml' # Run when this workflow changes - '**/Cargo.toml' # Run when dependencies change - '**/Cargo.lock' # Run when dependencies change + branches: [main] pull_request: paths: - '.github/workflows/security_audit.yml' # Run when this workflow changes diff --git a/paxy/src/action/repository/install.rs b/paxy/src/action/repository/install.rs index ccc9d09..1944c50 100644 --- a/paxy/src/action/repository/install.rs +++ b/paxy/src/action/repository/install.rs @@ -6,7 +6,7 @@ pub fn handle_repository_install_action( todo!(); - Ok(()) + // Ok(()) } #[allow(unused)]