Skip to content

Commit

Permalink
ci: fix run conditions to the right branch
Browse files Browse the repository at this point in the history
the Nix build CI job doesn't run at all, since it's pointing to a branch
that does not exist. Update it to run only on push to master branch (not
PRs, seems overkill since we can check the build locally).
Updates the new test.yml job to run on the master branch too.
  • Loading branch information
jurraca committed Jan 22, 2025
1 parent 090ca76 commit 8353378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Build outputs

on:
push:
branches: [main]
pull_request:
branches: [main]
branches: [master]

jobs:
build-nix-outputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run tests

on:
push:
branches: [main]
branches: [master]
pull_request:
branches: [main]
branches: [master]

jobs:
run-tests:
Expand Down

0 comments on commit 8353378

Please sign in to comment.