From 824784bf356a7e1afeb512f93c09083fe240f718 Mon Sep 17 00:00:00 2001 From: Chris Buckley Date: Mon, 22 Jul 2024 17:16:54 +0000 Subject: [PATCH] Add pull_request to workflow --- .github/workflows/push.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index feada3b..c17eb2e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -2,6 +2,9 @@ name: On Push on: push: branches: main + pull_request: + branches: main + jobs: build-assets: name: Build CV Assets @@ -16,6 +19,7 @@ jobs: - name: Build assets run: make - name: Commit assets + if: ${{ github.event_name == 'push' }} uses: stefanzweifel/git-auto-commit-action@v5 with: add_options: -f @@ -29,6 +33,7 @@ jobs: check-role: name: Check Role runs-on: ubuntu-latest + if: ${{ github.event_name == 'push' }} outputs: changed: ${{ steps.check.outputs.changed }} role: ${{ steps.details.outputs.role }}