ci: remove run condition for CI on push on main

(cherry picked from commit cc4d217547)
This commit is contained in:
Sven Vogel 2024-11-25 10:33:12 +01:00
parent 93603798fe
commit e2e756dc85
1 changed files with 1 additions and 5 deletions

View File

@ -2,9 +2,6 @@ name: Build'n check
run-name: Performing Typst compilation run-name: Performing Typst compilation
on: on:
push: push:
pull_request:
branches:
- main
jobs: jobs:
run-ci-linux: run-ci-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -12,8 +9,7 @@ jobs:
# push with commit containing "Run-Checks" # push with commit containing "Run-Checks"
if: > if: >
(contains(github.event.head_commit.message, 'Run-Checks') && (contains(github.event.head_commit.message, 'Run-Checks') &&
github.event_name == 'push') || github.event_name == 'push')
github.event_name == 'pull_request'
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3