From e35fffadc701f1bb91f8399a5412b7a7a233df2d Mon Sep 17 00:00:00 2001 From: Binbin Date: Sat, 14 Dec 2024 05:32:54 +0800 Subject: [PATCH] Skip build-release-packages CI job in forks (#1438) The CI job was introduced in #1363, we should skip it in forks. Signed-off-by: Binbin --- .github/workflows/build-release-packages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-release-packages.yml b/.github/workflows/build-release-packages.yml index 094d82de08..5057c7bad9 100644 --- a/.github/workflows/build-release-packages.yml +++ b/.github/workflows/build-release-packages.yml @@ -17,6 +17,7 @@ jobs: # This job provides the version metadata from the tag for the other jobs to use. release-build-get-meta: name: Get metadata to build + if: github.repository == 'valkey-io/valkey' runs-on: ubuntu-latest outputs: version: ${{ steps.get_version.outputs.VERSION }} @@ -45,6 +46,7 @@ jobs: generate-build-matrix: name: Generating build matrix + if: github.repository == 'valkey-io/valkey' runs-on: ubuntu-latest outputs: x86_64-build-matrix: ${{ steps.set-matrix.outputs.x86_64-build-matrix }}