From 6e59f748e0025229387747d0d5bdd3c2ccd7f239 Mon Sep 17 00:00:00 2001 From: Myra Date: Sat, 21 Jun 2025 02:32:31 +0200 Subject: [PATCH] Fail if we attempt to run publish on master (#38431) * Fail if we attempt to run publish on master BREAKING: FORKS REMOVE THIS * Update publish.yml --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0294395632..bb50164b34 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,10 @@ jobs: runs-on: ubuntu-latest steps: + - name: Fail if we are attempting to run on the master branch + if: ${{GITHUB.REF_NAME == 'master'}} && github.repository == 'space-wizards/space-station-14' + run: exit 1 + - name: Install dependencies run: sudo apt-get install -y python3-paramiko python3-lxml -- 2.51.2