From 06d829b09cca86dbb17a9687d37679d12f3be166 Mon Sep 17 00:00:00 2001 From: Ahmed Waleed Malik Date: Mon, 15 Mar 2021 20:26:45 +0500 Subject: [PATCH] Update pull_request.yaml --- .github/workflows/pull_request.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index f61311d..60a04d4 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -4,10 +4,6 @@ on: pull_request: branches: - 'master' - types: - - opened - - reopened - - synchronize env: DOCKER_FILE_PATH: Dockerfile @@ -24,7 +20,8 @@ jobs: with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will fail to push refs to dest repo - + ref: ${{github.event.pull_request.head.ref}} + - name: Generate Tag id: generate_tag run: |