feature: only run in the master branch
This commit is contained in:
parent
fb691d33e2
commit
34b6a94d61
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout master
|
- name: Checkout master
|
||||||
|
|||||||
1
.github/workflows/sync.yml
vendored
1
.github/workflows/sync.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Fork sync
|
- name: Fork sync
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user