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:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- name: Checkout master
|
||||
|
||||
1
.github/workflows/sync.yml
vendored
1
.github/workflows/sync.yml
vendored
@ -8,6 +8,7 @@ on:
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- name: Fork sync
|
||||
|
||||
Loading…
Reference in New Issue
Block a user