From d0ddfdeda4b6e7684b808bfef0bd7bb571dead02 Mon Sep 17 00:00:00 2001 From: Heemank Verma Date: Sat, 17 Aug 2024 05:17:14 +0530 Subject: [PATCH] update: correct Pr checks --- .github/workflows/coverage.yml | 2 ++ .github/workflows/linters-cargo.yml | 1 + .github/workflows/linters.yml | 1 + .github/workflows/pull-request.yml | 3 +-- .github/workflows/rust-build.yml | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b5e67475..e7aaac05 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,6 +9,8 @@ on: push: branches-ignore: - main + workflow_call: + workflow_dispatch: jobs: coverage: diff --git a/.github/workflows/linters-cargo.yml b/.github/workflows/linters-cargo.yml index 96172230..d3e5ff90 100644 --- a/.github/workflows/linters-cargo.yml +++ b/.github/workflows/linters-cargo.yml @@ -4,6 +4,7 @@ name: Task - Linters Cargo on: workflow_dispatch: workflow_call: + push: jobs: cargo-lint: diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 42f8c8de..901b7f1f 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -4,6 +4,7 @@ name: Task - Linters on: workflow_dispatch: workflow_call: + push: jobs: prettier: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 84d6c35c..2863c998 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,8 +2,7 @@ name: Workflow - Pull Request on: - workflow_dispatch: - pull_request: + pull_request_target: branches: [main] push: branches: [main] diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index f7cb3e08..1406606b 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -4,6 +4,7 @@ name: Task - Build Rust on: workflow_dispatch: workflow_call: + push: jobs: rust_build: