Skip to content

Commit

Permalink
Trigger workflow when pushing to main (#172)
Browse files Browse the repository at this point in the history
## Context
This PR will enable the workflow when merging a branch to `main`. This
will allow to build caches if needed for the default `main` branch
immediately after merging. And PRs from other branches can restore the
caches from `main` directly instead of building caches for each branch.

## Scope
`simulation_test.yml`

## Review
* [x] PR description is complete
* [ ] Coding style (imports, function length, New functions, classes or
files) are good
* [ ] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation

---------

Co-authored-by: Fernando Pereira <fernando.pereira@epfl.ch>
  • Loading branch information
WeinaJi and ferdonline authored May 17, 2024
1 parent 827ffd1 commit df963fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/simulation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
inputs:
NEURON_BRANCH:
Expand Down

0 comments on commit df963fd

Please sign in to comment.