From 1ccb3e02227c44f9750f7d6aab4d3eb5f9c930ca Mon Sep 17 00:00:00 2001 From: Firas al-Khalil Date: Thu, 16 May 2024 14:10:48 +0200 Subject: [PATCH] ci: correct the triggering conditions --- .github/workflows/cd.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 15faff3..08c9103 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,6 +1,10 @@ name: cd -on: [push] +on: + pull_request: + push: + branches: + - master jobs: build: @@ -20,7 +24,8 @@ jobs: run: | ./lang d bash c embedded-template html java javascript json python ruby rust - name: Prepare git # To get tags from `git describe` - run: git fetch --prune --unshallow + run: | + git fetch --prune --unshallow - name: Make .deb if: matrix.target.os == 'ubuntu-latest' run: |