Fix workflows to not double run
This commit is contained in:
parent
233ec0973d
commit
e87a3e62fe
2 changed files with 8 additions and 2 deletions
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: build
|
||||
on: [ push, pull_request ]
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
5
.github/workflows/test.yaml
vendored
5
.github/workflows/test.yaml
vendored
|
|
@ -1,5 +1,8 @@
|
|||
name: test
|
||||
on: [ push, pull_request ]
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue