From b42b03bc4062eb8dca004b7787ce557d1b4c936e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 24 Mar 2024 11:50:41 +0100 Subject: [PATCH] Restrict lua_api_deploy workflow to main repo --- .github/workflows/lua_api_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lua_api_deploy.yml b/.github/workflows/lua_api_deploy.yml index bcefb0972..e42335a78 100644 --- a/.github/workflows/lua_api_deploy.yml +++ b/.github/workflows/lua_api_deploy.yml @@ -16,8 +16,8 @@ on: jobs: build: - runs-on: ubuntu-22.04 - + if: github.repository == 'minetest/minetest' + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4