Only run PR env checks if PR open #440
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Template CI App Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- app/** | |
- .github/workflows/template-only-ci-app.yml | |
defaults: | |
run: | |
working-directory: ./app | |
jobs: | |
# Run the build to make sure it doesn't fail | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run build | |
run: make release-build |