From 151391035d18ff0ae5664cf61b39998313e195b7 Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Mon, 3 Jun 2024 13:10:36 +0530 Subject: [PATCH] Run tests and codeql in main branch --- .github/workflows/pr_codeql.yml | 3 +++ .github/workflows/pr_tests.yaml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_codeql.yml b/.github/workflows/pr_codeql.yml index f1fb50d463..045272c734 100644 --- a/.github/workflows/pr_codeql.yml +++ b/.github/workflows/pr_codeql.yml @@ -12,6 +12,9 @@ name: "CodeQL" on: + push: + branches: + - main pull_request: types: - opened diff --git a/.github/workflows/pr_tests.yaml b/.github/workflows/pr_tests.yaml index a68eacda8d..bebe76ad4f 100644 --- a/.github/workflows/pr_tests.yaml +++ b/.github/workflows/pr_tests.yaml @@ -1,8 +1,11 @@ name: Run all tests on: + push: + branches: + - main pull_request: - types: + types: - opened - synchronize # https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions