From 09f8a8cb067f4287be24b3dfb177a7b224a6a96f Mon Sep 17 00:00:00 2001 From: Tommi Vainikainen Date: Wed, 1 Mar 2023 15:20:26 +0200 Subject: [PATCH] fix: Replace references to old default branch name --- .github/workflows/container.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 393910972..6205d76e9 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -36,7 +36,7 @@ jobs: # Strip git ref prefix from version VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') # If not tag, then use `develop` as image tag - [ "$VERSION" == main -o "$VERSION" == master ] && VERSION=develop + [ "$VERSION" == main ] && VERSION=develop echo IMAGE_ID=$IMAGE_ID echo VERSION=$VERSION diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 39f5b91b5..50519edf0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,7 @@ on: types: [opened, synchronize, reopened] push: branches: - - master + - main jobs: tests: