From b4f7effc2a7bfd6db229c0aa888904a14fcc8e72 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:32:02 -0800 Subject: [PATCH] Updated check for the PR source being internal --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 11bbb3b..7072d79 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -48,7 +48,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - push: ${{ github.repository == 'jordan-dalby/ByteStash' }} + push: ${{ github.event.pull_request.head.repo.full_name == github.repository }} platforms: linux/amd64 tags: ${{ steps.docker-metadata.outputs.tags }} labels: ${{ steps.docker-metadata.outputs.labels }} \ No newline at end of file