From 659fe6e47230d526ccd674a914594db820825c55 Mon Sep 17 00:00:00 2001 From: Matty Widdop <18513864+MattyTheHacker@users.noreply.github.com> Date: Sat, 1 Mar 2025 21:26:44 +0000 Subject: [PATCH] Fix dev container fork check (#433) --- .github/workflows/update-dev-container-image.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update-dev-container-image.yaml b/.github/workflows/update-dev-container-image.yaml index 1481182a..d8e6d780 100644 --- a/.github/workflows/update-dev-container-image.yaml +++ b/.github/workflows/update-dev-container-image.yaml @@ -11,8 +11,7 @@ jobs: contents: read packages: write - if: ${{ ! startsWith(github.head_ref, 'dependabot/') }} - if: ${{ github.event.pull_request.head.repo.full_name == 'CSSUoB/TeX-Bot-Py-V2' }} + if: (! startsWith(github.head_ref, 'dependabot/')) && github.event.pull_request.head.repo.full_name == 'CSSUoB/TeX-Bot-Py-V2' steps: - uses: docker/setup-buildx-action@v3