Browse Source

MT#55283 CI: Prevent scheduled actions from running in forks

They are meant for the main repo.

Closes #2031

Change-Id: I65e5ba4c8b98fc2460beceb18c0f8b70192c2efd
mr14.0.1
Orgad Shaneh 3 weeks ago
committed by Richard Fuchs
parent
commit
7d715132b8
4 changed files with 5 additions and 0 deletions
  1. +1
    -0
      .github/workflows/coverity.yml
  2. +2
    -0
      .github/workflows/debpkg.yml
  3. +1
    -0
      .github/workflows/shellcheck.yml
  4. +1
    -0
      .github/workflows/unit-tests.yml

+ 1
- 0
.github/workflows/coverity.yml View File

@ -11,6 +11,7 @@ on:
jobs:
build:
if: github.repository == 'sipwise/rtpengine'
runs-on: ubuntu-24.04
env:


+ 2
- 0
.github/workflows/debpkg.yml View File

@ -8,6 +8,7 @@ on:
jobs:
build-deb-bookworm:
if: github.event_name != 'schedule' || github.repository == 'sipwise/rtpengine'
runs-on: ubuntu-latest
name: Debian pipeline for bookworm
@ -31,6 +32,7 @@ jobs:
path: '*.buildinfo'
build-deb-sid:
if: github.event_name != 'schedule' || github.repository == 'sipwise/rtpengine'
runs-on: ubuntu-latest
name: Debian pipeline for sid


+ 1
- 0
.github/workflows/shellcheck.yml View File

@ -8,6 +8,7 @@ on:
jobs:
test:
if: github.event_name != 'schedule' || github.repository == 'sipwise/rtpengine'
runs-on: ubuntu-latest
steps:


+ 1
- 0
.github/workflows/unit-tests.yml View File

@ -8,6 +8,7 @@ on:
jobs:
test:
if: github.event_name != 'schedule' || github.repository == 'sipwise/rtpengine'
runs-on: ubuntu-24.04
name: Run unit tests


Loading…
Cancel
Save