From 62274fdb23f1644f826cdf50c3fe0d268bf65b53 Mon Sep 17 00:00:00 2001 From: Ebrahem Farooqui Date: Mon, 1 Mar 2021 16:06:02 -0800 Subject: [PATCH] Adding github head ref Adding the branch that is requesting the pull request in order to run the file on that branch exclusively --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2387990..7d93e9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} - uses: actions/setup-node@v2-beta with: node-version: '12'