Limit push to master instead

This commit is contained in:
Joe Rickerby
2020-11-13 19:15:17 +00:00
parent 1f830a3626
commit ebe632eff0
+5 -5
View File
@@ -1,14 +1,14 @@
name: Test
on:
push: {}
push:
branches:
- master
pull_request:
paths-ignore:
- 'docs/**'
branches:
# PRs from branches on the origin repo get a build from the 'push'
# trigger. So the pull_request trigger is limited to fork branches
- '**:**'
workflow_dispatch:
# allow manual runs on branches without a PR
jobs:
pre-commit: