From 9a84163934f41632c2196fa9b8938394cdf69670 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 14 Jan 2024 14:46:52 +0100 Subject: CI: limit scheduled runs to "libressl" org only --- .github/workflows/fedora-rawhide.yml | 1 + .github/workflows/linux.yml | 1 + .github/workflows/macos.yml | 1 + .github/workflows/rust-openssl.yml | 1 + .github/workflows/solaris.yml | 1 + .github/workflows/windows.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml index 86195d1..1303af2 100644 --- a/.github/workflows/fedora-rawhide.yml +++ b/.github/workflows/fedora-rawhide.yml @@ -19,6 +19,7 @@ jobs: cc: [ gcc, clang ] name: ${{ matrix.cc }} runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} container: image: fedora:rawhide steps: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c51ade2..d48c1e8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -16,6 +16,7 @@ jobs: test: name: "${{ matrix.os }}/${{ matrix.arch }} (${{ matrix.compiler }})" runs-on: "${{ matrix.os }}" + if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} permissions: contents: read strategy: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ae7b9f0..e1395d1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -15,6 +15,7 @@ jobs: test: name: "${{ matrix.os }}/${{ matrix.arch }}" runs-on: "${{ matrix.os }}" + if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} permissions: contents: read strategy: diff --git a/.github/workflows/rust-openssl.yml b/.github/workflows/rust-openssl.yml index 865219e..6487b47 100644 --- a/.github/workflows/rust-openssl.yml +++ b/.github/workflows/rust-openssl.yml @@ -14,6 +14,7 @@ jobs: test: name: "Test" runs-on: "ubuntu-latest" + if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} permissions: contents: read steps: diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml index 69ae147..e331e00 100644 --- a/.github/workflows/solaris.yml +++ b/.github/workflows/solaris.yml @@ -14,6 +14,7 @@ jobs: test: name: "Solaris" runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} permissions: contents: read steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a78a1ed..8adb9f9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,6 +15,7 @@ jobs: test: name: "${{ matrix.os }}/${{ matrix.arch }} (${{ matrix.generator }})" runs-on: "${{ matrix.os }}" + if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} permissions: contents: read strategy: -- cgit v1.2.3-55-g6feb