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 name: Test
on: on:
push: {} push:
branches:
- master
pull_request: pull_request:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
branches: workflow_dispatch:
# PRs from branches on the origin repo get a build from the 'push' # allow manual runs on branches without a PR
# trigger. So the pull_request trigger is limited to fork branches
- '**:**'
jobs: jobs:
pre-commit: pre-commit: