From 2c49d087592684e9bc6b9dcc075a3dc228c53773 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 4 Oct 2021 18:13:47 +0530 Subject: [PATCH] github: run checks for PRs --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee788b1c..47c0661c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: branches: - main + pull_request: + branches: + - main + jobs: run-unit-tests: runs-on: ubuntu-latest @@ -56,7 +60,7 @@ jobs: arguments: spotlessCheck deploy-release-snapshot: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[ci skip]')" + if: "github.event_name == 'push'" needs: [ "run-unit-tests", "stylecheck" ] steps: