feature: only run in the master branch

This commit is contained in:
y1ndan 2020-12-21 05:54:46 +00:00
parent fb691d33e2
commit 34b6a94d61
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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