Merge pull request #2805 from lanefu/CI-tweaks

limit ci builds to armbian org
This commit is contained in:
lanefu
2021-05-02 11:32:15 -04:00
committed by GitHub
3 changed files with 4 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ jobs:
build:
name: latest
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- uses: actions/checkout@v1
- name: Login to DockerHub Registry

View File

@@ -7,6 +7,7 @@ on:
jobs:
build:
runs-on: [runner2]
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- name: Run script
shell: bash {0}

View File

@@ -6,6 +6,7 @@ jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-20.04
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
@@ -23,6 +24,7 @@ jobs:
name: Compile changed kernel
# This job runs on self hosted Linux machine, with public label
runs-on: [self-hosted, public, x64]
if: ${{ github.repository_owner == 'Armbian' }}
steps:
# - uses: rokroskar/workflow-run-cleanup-action@v0.2.2
# env: