Use on: [push, pull_request] in examples

This commit is contained in:
Benoit Daloze
2020-12-30 11:48:57 +01:00
parent 95193d6d48
commit 2320cdc287
+3 -3
View File
@@ -57,7 +57,7 @@ for Ubuntu and macOS and in [windows-versions.js](windows-versions.js) for Windo
```yaml
name: My workflow
on: [push]
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
@@ -76,7 +76,7 @@ This matrix tests all stable releases and `head` versions of MRI, JRuby and Truf
```yaml
name: My workflow
on: [push]
on: [push, pull_request]
jobs:
test:
strategy:
@@ -98,7 +98,7 @@ jobs:
```yaml
name: My workflow
on: [push]
on: [push, pull_request]
jobs:
test:
strategy: