From: Myra Date: Sat, 21 Jun 2025 00:32:31 +0000 (+0200) Subject: Fail if we attempt to run publish on master (#38431) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6e59f748e0025229387747d0d5bdd3c2ccd7f239;p=space-station-14.git 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 --- 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