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
This commit is contained in:
Myra
2025-06-21 02:32:31 +02:00
committed by GitHub
parent 83ff673e68
commit 6e59f748e0

View File

@@ -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