Limit push to master instead
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user