diff --git a/.github/workflows/_run.yml b/.github/workflows/_run.yml index ef4fedeae34a..5e327e2b00f2 100644 --- a/.github/workflows/_run.yml +++ b/.github/workflows/_run.yml @@ -291,6 +291,10 @@ jobs: ${{ inputs.bazel-extra }} ${{ inputs.rbe == true && format('--jobs={0}', inputs.bazel-rbe-jobs) || '' }} BAZEL_FAKE_SCM_REVISION: ${{ github.event_name == 'pull_request' && 'e3b4a6e9570da15ac1caffdded17a8bebdc7dfc9' || '' }} + CI_BRANCH: >- + ${{ inputs.trusted + && format('refs/heads/{0}, fromJSON(inputs.request).request.target-branch) + || '' }} CI_SHA1: ${{ github.sha }} CI_TARGET_BRANCH: ${{ fromJSON(inputs.request).request.target-branch }} MOUNT_GPG_HOME: ${{ inputs.import-gpg && 1 || '' }}