Skip to content

Commit

Permalink
Fix nasa#457, Run build and run app workflow on pull requests and don…
Browse files Browse the repository at this point in the history
…'t skip main branch actions
  • Loading branch information
skliper committed Apr 21, 2022
1 parent 095baac commit 0adfd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-run-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
do_not_skip: '["push", "workflow_dispatch", "schedule"]'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

build-and-run:
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }}
name: Build and run app, confirm startup message
runs-on: ubuntu-18.04

Expand Down

0 comments on commit 0adfd3c

Please sign in to comment.