From 8f75fbfbbb21cbefe40205d4a4d6ef6b7a7acde2 Mon Sep 17 00:00:00 2001 From: Vishnu Challa Date: Mon, 7 Oct 2024 17:50:16 -0400 Subject: [PATCH] CI tests on pull request Signed-off-by: Vishnu Challa --- .github/workflows/builders.yaml | 2 +- .github/workflows/ci-tests.yaml | 4 ++++ .github/workflows/pylint.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builders.yaml b/.github/workflows/builders.yaml index f43bc64..4e64167 100644 --- a/.github/workflows/builders.yaml +++ b/.github/workflows/builders.yaml @@ -2,7 +2,7 @@ name: Builders on: workflow_call: workflow_dispatch: - pull_request: + pull_request_target: branches: - master - main diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index e093c98..c3171e7 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -5,6 +5,10 @@ on: branches: - master - main + pull_request_target: + branches: + - master + - main jobs: lint: diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml index 0a1d340..267f7eb 100644 --- a/.github/workflows/pylint.yaml +++ b/.github/workflows/pylint.yaml @@ -2,7 +2,7 @@ name: Pylint on: workflow_call: workflow_dispatch: - pull_request: + pull_request_target: branches: - master - main