ci: rebase specified s-v pr

So that CI does not fail, if suricata PR got upgraded in a new
version, but S-V PR did not get upgraded, and S-V changed
in master
pull/6306/head
Philippe Antoine 3 years ago committed by Victor Julien
parent 44bd3169eb
commit 3e81d20a71

@ -97,11 +97,12 @@ jobs:
tar zcf suricata-update.tar.gz suricata-update
- name: Fetching suricata-verify
run: |
git clone --depth 1 ${sv_repo} -b ${sv_branch} suricata-verify
git clone ${sv_repo} -b ${sv_branch} suricata-verify
if [[ "${sv_pr}" != "" ]]; then
cd suricata-verify
git fetch origin pull/${sv_pr}/head:prep
git checkout prep
git rebase ${DEFAULT_SV_BRANCH}
cd ..
fi
tar zcf suricata-verify.tar.gz suricata-verify

Loading…
Cancel
Save