Skip to content

Commit

Permalink
Add pull_request to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbuckley committed Jul 22, 2024
1 parent 2620263 commit 824784b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: On Push
on:
push:
branches: main
pull_request:
branches: main

jobs:
build-assets:
name: Build CV Assets
Expand All @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 824784b

Please sign in to comment.