update CI job to remove references to develop

This commit is contained in:
Martin McKeaveney 2023-10-16 11:04:33 +01:00
parent 81c3831c82
commit f2dbb4106d
1 changed files with 1 additions and 6 deletions

View File

@ -10,7 +10,6 @@ on:
push:
branches:
- master
- develop
pull_request:
workflow_dispatch:
@ -262,11 +261,7 @@ jobs:
branch="${{ github.base_ref || github.ref_name }}"
echo "Running on branch '$branch' (base_ref=${{ github.base_ref }}, ref_name=${{ github.head_ref }})"
if [[ $branch == "master" ]]; then
base_commit=$(git rev-parse origin/master)
elif [[ $branch == "develop" ]]; then
base_commit=$(git rev-parse origin/develop)
fi
if [[ ! -z $base_commit ]]; then
echo "target_branch=$branch"