Skip to content

Commit

Permalink
Run workflows on PR and push to master only, not push to feature branch
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpj committed Jan 2, 2023
1 parent 5b46902 commit 3baf729
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Haskell CI

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
build:

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Nix

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
nix:
Expand Down

0 comments on commit 3baf729

Please sign in to comment.