Skip to content

Commit c96748a

Browse files
committed
Allow CI to run on PRs
1 parent 93011e3 commit c96748a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build ShellCheck
22

33
# Run this workflow every time a new commit pushed to your repository
4-
on: push
4+
on: [push, pull_request]
55

66
jobs:
77
package_source:
@@ -46,11 +46,11 @@ jobs:
4646
name: Run tests (GHC ${{ matrix.ghc }})
4747
needs: package_source
4848
runs-on: ubuntu-latest
49-
# If one version fails, we still want the status of the others
50-
continue-on-error: true
5149
strategy:
5250
matrix:
5351
ghc: ['8.0', '8.10', '9.0.1', 'latest']
52+
# If one version fails, we still want the status of the others
53+
fail-fast: false
5454
steps:
5555
- name: Download artifacts
5656
uses: actions/download-artifact@v7
@@ -135,6 +135,7 @@ jobs:
135135
path: deploy/
136136

137137
deploy:
138+
if: github.event_name == 'push'
138139
name: Deploy binaries
139140
needs: package_binary
140141
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)