fix: fix the workflow to only run on main branch
This commit is contained in:
parent
c03f2751f0
commit
5caa94f71d
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
name: Check code passes formatting and lint rules
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
on: [push]
|
name: Build and create binary artifact
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue