From 8968cfdc85c74dfab801a61a2e56e6829da17e3d Mon Sep 17 00:00:00 2001 From: mszelwiga Date: Fri, 25 Oct 2024 14:10:24 +0200 Subject: [PATCH] Fix pushing logs to main branch of synlig-logs repo --- .github/workflows/parsing-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/parsing-tests.yml b/.github/workflows/parsing-tests.yml index f709ed675..e00cfd45a 100644 --- a/.github/workflows/parsing-tests.yml +++ b/.github/workflows/parsing-tests.yml @@ -107,7 +107,7 @@ jobs: name: Generate AST diff runs-on: [self-hosted, Linux, X64, gcp-custom-runners] container: ubuntu:jammy - if: github.event.pull_request.head.repo.full_name == github.repository || github.event.push + if: (github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')) needs: - parsing-tests steps: