Skip to content

Commit

Permalink
pass-commit-ref-as-input (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Feb 7, 2024
1 parent 7113a71 commit b434a1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/trigger-prow-build-job-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Trigger prow build job (reusable)
on:
workflow_call:
inputs:
COMMIT_REF:
required: true
type: string
description: The commit ref for the `wait-for-commit-status-action` action. This should be the branch name from where the release was triggered.
VERSION:
required: true
type: string
Expand Down Expand Up @@ -63,6 +67,6 @@ jobs:
GITHUB_REPO: ${{ github.event.repository.name }}
with:
context: "${{ inputs.CONTEXT }}"
commit_ref: ${{ GITHUB_REF_NAME }} # the name of the release branch.
commit_ref: ${{ inputs.COMMIT_REF }}
timeout: ${{ inputs.TIMEOUT }}
check_interval: ${{ inputs.INTERVAL }}

0 comments on commit b434a1f

Please sign in to comment.