CI: only release to AWS in the Zephyr repository

Currently, nightly releases are performed in Forks as well.
Since these fail due to missing AWS credentials this causes
a lot of messages about failing builds, this commit disables
them for Forks.

Signed-off-by: Max Bachmann <kontakt@maxbachmann.de>
This commit is contained in:
Max Bachmann 2020-11-22 10:00:05 +01:00 committed by Kumar Gala
commit 1d4c36486c
3 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,7 @@ on:
jobs: jobs:
get_version: get_version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'zephyrproject-rtos/zephyr'
steps: steps:
- name: Configure AWS Credentials - name: Configure AWS Credentials

View file

@ -14,6 +14,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'zephyrproject-rtos/zephyr'
steps: steps:
- name: Update PATH for west - name: Update PATH for west

View file

@ -6,6 +6,7 @@ on:
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'zephyrproject-rtos/zephyr'
steps: steps:
- uses: actions/stale@v3 - uses: actions/stale@v3
with: with: