ci: static checks: use defined target_branch

Fixes: #2214
Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
This commit is contained in:
Snir Sheriber
2021-07-12 14:34:44 +03:00
parent 6c39c353e6
commit 9b8cc4581d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ jobs:
TRAVIS_PULL_REQUEST_BRANCH: ${{ github.head_ref }}
TRAVIS_PULL_REQUEST_SHA : ${{ github.event.pull_request.head.sha }}
RUST_BACKTRACE: "1"
target_branch: ${TRAVIS_BRANCH}
target_branch: ${{ github.base_ref }}
steps:
- name: Install Go
uses: actions/setup-go@v2