From 06431840b18c1747fe84a40d64e1619567ab1193 Mon Sep 17 00:00:00 2001 From: Theo Leuthardt <60556192+theoleuthardt@users.noreply.github.com> Date: Thu, 13 Mar 2025 16:28:22 +0100 Subject: [PATCH] feat: run gh action on pull request --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a05b070..3c500bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,10 @@ name: Build and Release DinoGame on: + pull_request: + branches: + - main + workflow_dispatch: inputs: question: @@ -116,7 +120,6 @@ jobs: release: needs: build runs-on: ubuntu-latest - if: github.event.inputs.question == 'YES' steps: - name: Download All Artifacts uses: actions/download-artifact@v4 @@ -132,4 +135,4 @@ jobs: draft: false prerelease: false env: - GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}