From 27dcb0843fa739c53ea6acb68ba7d8dad0960940 Mon Sep 17 00:00:00 2001 From: Akash Date: Sun, 22 Sep 2024 20:51:01 +0530 Subject: [PATCH] added pull_request_target to build pipeline to read repo secrets Signed-off-by: Akash --- .github/workflows/build.yaml | 2 +- .github/workflows/lint.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 94e9a60..7e89255 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + pull_request_target: branches: - main diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 1c44d33..27b8a56 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,6 +1,9 @@ name: Lint on: + push: + branches: + - main pull_request: branches: - main