Only run workflows on master

This commit is contained in:
Wilson Lin 2021-08-06 12:22:24 +10:00
parent 61970fc00c
commit faba0c41d8
7 changed files with 27 additions and 19 deletions

View File

@ -1,11 +1,12 @@
name: Run benchmark and upload results
on:
create:
push:
branches:
- master
tags:
- 'v*'
repository_dispatch:
types: [wf-bench]
workflow_dispatch:
jobs:
bench:

View File

@ -1,11 +1,12 @@
name: Build and upload CLI
on:
create:
push:
branches:
- master
tags:
- 'v*'
repository_dispatch:
types: [wf-cli]
workflow_dispatch:
jobs:
cli:

View File

@ -1,11 +1,12 @@
name: Fuzz
on:
create:
push:
branches:
- master
tags:
- 'v*'
repository_dispatch:
types: [wf-fuzz]
workflow_dispatch:
jobs:
fuzz:

View File

@ -1,11 +1,12 @@
name: Build and publish Java artifact
on:
create:
push:
branches:
- master
tags:
- 'v*'
repository_dispatch:
types: [wf-java]
workflow_dispatch:
jobs:
build:

View File

@ -1,7 +1,9 @@
name: Build and publish Node.js package
on:
create:
push:
branches:
- master
tags:
- 'v*'
workflow_dispatch:

View File

@ -1,11 +1,12 @@
name: Build and publish Python package
on:
create:
push:
branches:
- master
tags:
- 'v*'
repository_dispatch:
types: [wf-python]
workflow_dispatch:
jobs:
build:

View File

@ -1,11 +1,12 @@
name: Build and publish Ruby gem
on:
create:
push:
branches:
- master
tags:
- 'v*'
repository_dispatch:
types: [wf-ruby]
workflow_dispatch:
jobs:
build: