From db84130f36c165b253daeff404c0c4a8bf98bd52 Mon Sep 17 00:00:00 2001 From: Joe Cooper Date: Sun, 9 Jul 2023 22:28:43 -0500 Subject: [PATCH] Trying again to skip forks for builds (#11) --- .github/workflows/build-devel-deb.yaml | 2 +- .github/workflows/build-devel-rpm.yaml | 2 +- .github/workflows/build-stable-deb.yaml | 2 +- .github/workflows/build-stable-rpm.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-devel-deb.yaml b/.github/workflows/build-devel-deb.yaml index d4bfc65..2ef6184 100644 --- a/.github/workflows/build-devel-deb.yaml +++ b/.github/workflows/build-devel-deb.yaml @@ -8,7 +8,7 @@ on: jobs: build: runs-on: ubuntu-20.04 - if: github.repository == 'virtualmin/*' + if: github.repository_owner == 'virtualmin' steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/build-devel-rpm.yaml b/.github/workflows/build-devel-rpm.yaml index cc5e374..07cd61e 100644 --- a/.github/workflows/build-devel-rpm.yaml +++ b/.github/workflows/build-devel-rpm.yaml @@ -8,7 +8,7 @@ on: jobs: build: runs-on: ubuntu-20.04 - if: github.repository == 'virtualmin/*' + if: github.repository_owner == 'virtualmin' steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/build-stable-deb.yaml b/.github/workflows/build-stable-deb.yaml index 073b7ca..0e5b223 100644 --- a/.github/workflows/build-stable-deb.yaml +++ b/.github/workflows/build-stable-deb.yaml @@ -10,7 +10,7 @@ on: jobs: build: runs-on: ubuntu-20.04 - if: github.repository == 'virtualmin/*' + if: github.repository_owner == 'virtualmin' steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/build-stable-rpm.yaml b/.github/workflows/build-stable-rpm.yaml index b4e8612..cdb3f7f 100644 --- a/.github/workflows/build-stable-rpm.yaml +++ b/.github/workflows/build-stable-rpm.yaml @@ -10,7 +10,7 @@ on: jobs: build: runs-on: ubuntu-20.04 - if: github.repository == 'virtualmin/*' + if: github.repository_owner == 'virtualmin' steps: - uses: actions/checkout@v3 with: