From 0038e19abeeda603fc893a90479ab4ddd912dada Mon Sep 17 00:00:00 2001 From: Samriddhi <115928307+samriddhi99@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:28:37 +0530 Subject: [PATCH] Enhance GitHub Actions Workflow with PR Triggers (#148) * Add PR triggers to github actions workflow * Update lint.yml --- .github/workflows/build_test.yml | 5 ++++- .github/workflows/lint.yml | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 615c3d20..93c71773 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -1,6 +1,9 @@ name: Build & test -on: [push] +on: + push: + pull_request: + types: [opened, reopened] jobs: run_test: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c759fc0b..67096d21 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,9 @@ name: Linting - -on: [push] - +on: + push: + pull_request: + types: [opened, reopened] + jobs: black: runs-on: ubuntu-latest