From b3cc2686e9bfbf9d41999016d5d3d28c757520a5 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 3 Jun 2026 13:45:46 +0200 Subject: [PATCH] .github/workflows/01-make-dist.yml: launch "GHA-01: Tarballs Build Worker" definition from the target branch (if a PR) [networkupstools/nut#1400] Signed-off-by: Jim Klimov --- .github/workflows/01-make-dist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/01-make-dist.yml b/.github/workflows/01-make-dist.yml index 75d54e9..df41952 100644 --- a/.github/workflows/01-make-dist.yml +++ b/.github/workflows/01-make-dist.yml @@ -94,6 +94,7 @@ jobs: with: workflow: "GHA-01: Tarballs Build Worker" token: ${{ secrets.GITHUB_TOKEN }} + ref: ${{ github.event.pull_request.number > 0 && github.event.pull_request.base.ref || github.sha }} inputs: '{ "ref": "${{ github.event.pull_request.number > 0 && github.event.pull_request.head.sha || github.sha }}", "artifact_name": "${{ steps.set-artifact-name.outputs.artifact_name }}" }' wait-timeout-seconds: 3600 wait-for-completion: true