From 6ca56ff6419750869fd91ceb7bab36b090c6258f Mon Sep 17 00:00:00 2001 From: "Felix T.J. Dietrich" Date: Fri, 6 Dec 2024 22:32:31 +0100 Subject: [PATCH] fix workflow for default branch deployments --- .github/workflows/deploy-docker-compose-shared.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-docker-compose-shared.yml b/.github/workflows/deploy-docker-compose-shared.yml index e4e8744..cd84ddd 100644 --- a/.github/workflows/deploy-docker-compose-shared.yml +++ b/.github/workflows/deploy-docker-compose-shared.yml @@ -46,6 +46,7 @@ jobs: if [ "$REF" = "${{ github.event.repository.default_branch }}" ]; then echo "Use latest for deployment." echo "image-tag-to-deploy=latest" >> $GITHUB_OUTPUT + exit 0 fi PULLS=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/pulls?head=${{ github.repository_owner }}:${REF}")