actions: run footprint action in zephyr repo only
Run footprint actions only on the zephyr repo. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a98ba2ffe3
commit
5d988fde05
2 changed files with 4 additions and 0 deletions
2
.github/workflows/footprint-tracking.yml
vendored
2
.github/workflows/footprint-tracking.yml
vendored
|
@ -16,6 +16,7 @@ on:
|
|||
jobs:
|
||||
footprint-tracking-cancel:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'zephyrproject-rtos/zephyr'
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.6.0
|
||||
|
@ -23,6 +24,7 @@ jobs:
|
|||
access_token: ${{ github.token }}
|
||||
footprint-tracking:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'zephyrproject-rtos/zephyr'
|
||||
needs: footprint-tracking-cancel
|
||||
container:
|
||||
image: zephyrprojectrtos/ci:v0.18.2
|
||||
|
|
2
.github/workflows/footprint.yml
vendored
2
.github/workflows/footprint.yml
vendored
|
@ -5,6 +5,7 @@ on: pull_request
|
|||
jobs:
|
||||
footprint-cancel:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'zephyrproject-rtos/zephyr'
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.6.0
|
||||
|
@ -12,6 +13,7 @@ jobs:
|
|||
access_token: ${{ github.token }}
|
||||
footprint-delta:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'zephyrproject-rtos/zephyr'
|
||||
needs: footprint-cancel
|
||||
container:
|
||||
image: zephyrprojectrtos/ci:v0.18.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue