From a2764d79ea1568d72c3a18f7d8e2cef9f7e887c4 Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Fri, 7 Jun 2024 14:02:44 +0000 Subject: [PATCH] Hardening the CI in relation to PRs --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8547bab..3256ec4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,8 @@ name: Build on: - [push] + push: + pull_request_target: + types: [labeled] jobs: build: name: Build and Test @@ -31,4 +33,4 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - prerelease: true \ No newline at end of file + prerelease: true