From 1a09a0251d62b689e7ed9e307c1af97082c3cf09 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 15:49:21 +0000 Subject: [PATCH] ci/run-ci-on-push (#108) Reviewed-on: https://git.montehaselino.de/DHBW/dhbw-abb-typst-template/pulls/108 Co-authored-by: servostar Co-committed-by: servostar --- .gitea/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3a04e93..3834a8a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,11 +2,12 @@ name: Build'n check run-name: Performing Typst compilation on: pull_request: - types: - - opened - - synchronize branches: - main + push: + branches-ignore: + - main + jobs: run-ci-linux: runs-on: ubuntu-latest @@ -14,7 +15,8 @@ jobs: # push with commit containing "Run-Checks" if: > (contains(github.event.head_commit.message, 'Run-Checks') && - github.event_name == 'push') + github.event_name == 'push') || + github.event_name == 'pull_request' steps: - name: Check out repository code uses: actions/checkout@v3